• Abderrahmane TRIA
  • NEWBIE
  • 5 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
would it be possible to know if the comment of an approval process is empty or not? I made this code but I get penultimate comment and no current.
ProcessInstance[] pi = [SELECT Id,TargetObjectid, Status, (SELECT id,actor.name FROM Workitems), (SELECT Id,StepStatus, Comments FROM Steps ORDER BY CreatedDate DESC) FROM ProcessInstance WHERE TargetObjectId =: agr.Id AND Status = 'Pending']; if (pi.size() > 0 ){ system.debug('Comments '+pi[0].Steps[0].Comments); }
Is it possible to copy the matrix values of a Dependent picklist from one object to another ?
would it be possible to know if the comment of an approval process is empty or not? I made this code but I get penultimate comment and no current.
ProcessInstance[] pi = [SELECT Id,TargetObjectid, Status, (SELECT id,actor.name FROM Workitems), (SELECT Id,StepStatus, Comments FROM Steps ORDER BY CreatedDate DESC) FROM ProcessInstance WHERE TargetObjectId =: agr.Id AND Status = 'Pending']; if (pi.size() > 0 ){ system.debug('Comments '+pi[0].Steps[0].Comments); }
Is it possible to copy the matrix values of a Dependent picklist from one object to another ?
I'm unable to check step 2: Automate Accounts because I'm receiving this error: Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: ZKCVFIZH
 
Hi Guys, Is there any way to translate helptext for Custom fields?