• Adila Hilal 15
  • NEWBIE
  • 0 Points
  • Member since 2019

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

we are implementing lightning app in sandbox, but for some reasons data is not loading , can some one suggest how this issue can be resolved.

thanks,

Adila Hilal
i am trying to write a basica Apex code for updating user profile and role id base off  two text fields on user , last profile Id and last role Id.its a part of approval process process where a user submits request to get temprory admin access.after end time passes the user profile reverts back

tried to user Flow with process builder but its thrwing error.so I thought because updates involve two different objects, calling apex from process builder can makes updates easy.
I am automating  system admin access process using flow & process builder. i have created a text field last profile id on My custom object called "sytem Admin access" to save user last role & profile Id, to achieve this i am using following formulae but getting Errors.

CASESAFEID (PRIORVALUE ([Salesforce_Admin_Access_Request__c].    Access_Needed_for__c).ProfileId))

and the error is

The formula expression is invalid: Syntax error. Missing '='
Can any one suggest solution .

Thanks
i am trying to write a basica Apex code for updating user profile and role id base off  two text fields on user , last profile Id and last role Id.its a part of approval process process where a user submits request to get temprory admin access.after end time passes the user profile reverts back

tried to user Flow with process builder but its thrwing error.so I thought because updates involve two different objects, calling apex from process builder can makes updates easy.