Its a Custom Form based Workflow. When I add Script Source in Workflow step its not getting triggered. But the OwnerScript is getting triggered. why script outside approval is not getting triggered? Any idea for this issue?
Hey @ArunSundar, can you try to transition in the new step and call the script, instead of putting it all in one step. That will in effect log the same thing.
Hey Arun, few things - My guess is that your script should be within the approval tag, not outside of it. Can you try to put that within the approval tag and check? Also, if the changes which you will be in the making in the identityModel is based on the result of the approval then you can use instead of a regular script. But i think the issue here is that the script is outside of the approval tag.
@ArunSundar As discussed, you can either place the logic which you want to keep in the script within the available approval scripts (interceptor, validation, owner) depending on your requirement. Or you can have a separate step before the approval step to do the evaluation (as you require to run the logic before approval)