This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

onPostModify Function

I'm writing a post modify PS function that updates the email address. I only want it to run if the first or last name is modified.

How do I tell within the $request what attribute was modified so I can stop the function if it wasn't first or last name?

 

Thank you.

Parents
  • Couple of options:

    You can trap that specific attribute change with an ActiveRoles workflow start condition and then trigger your script that way.

    OR

    Your script can look at the $Request - it will tell you which attribute was changed. There is a library script available (free) from Quest that can help you to interrogate the $Request object for the modified attributes.
Reply
  • Couple of options:

    You can trap that specific attribute change with an ActiveRoles workflow start condition and then trigger your script that way.

    OR

    Your script can look at the $Request - it will tell you which attribute was changed. There is a library script available (free) from Quest that can help you to interrogate the $Request object for the modified attributes.
Children
No Data