• Sanjana Bheemreddy
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi All,


Am new to SSO configuration, here am using federation id and the  SAML validator is giving unknown results,what could this be ?

Here is the SAML validator results :
Results 
Unexpected Exceptions
  Unable to parse the response
  Premature end of file.
1. Validating the Status
  Unknown
2. Looking for an Authentication Statement
  Unknown
3. Looking for a Conditions statement
  Unknown
4. Checking that the timestamps in the assertion are valid
  Unknown
5. Checking that the Attribute namespace matches, if provided
  Unknown
6. Miscellaneous format confirmations
  Unknown
7. Confirming Issuer matches
  Unknown
8. Confirming a Subject Confirmation was provided and contains valid timestamps
  Unknown
9. Checking that the Audience matches
  Unknown
10. Checking the Recipient
  Unknown
11. Validating the Signature
  Unknown
12. Checking that the Site URL Attribute contains a valid site url, if provided
  Unknown
13. Looking for portal and organization id, if provided
  Unknown
14. Checking if session security level is valid, if provided
  Unknown

Subject: 
Unable to map the subject to a Salesforce.com user
AssertionId: 



What could I do to overcome this error
 
Please help me with the code to unlock Opportunity record submitted for approval.
I have a record of the Incident object that is automatically submitted for approval upon creation. The approval process locks the record, but I would like to unlock it right away.

Now in my trigger I have:

trigger IncidentBeforeTrg on Incident__c (before insert, before update) {
for(Incident__c newInc:trigger.New){
if(Trigger.isUpdate && Approval.isLocked(newInc.Id)){
Approval.unlock(newInc.Id);
}
}
}

But this does not seem to be doing anything. What am I missing?