3 Replies · Latest reply on Jan 3, 2018 12:52 PM by Tony DiRienzo

    current.update() in workflow - alternate ?



      Is there any performance issues, if we use "current.update()" on Requested Item table workflow and in run script activity ? the script gets executed after first approval.


      Can you please suggest any alternate solution ?


      Reason for using "current.update()" is we need TASK SLA on approvals.

      -> Once the first approval is completed, I am changing - approval field to approved and again approval to 'requested' by using current.update() in workflow activity so that SLA definition condition gets matched and it will create new TASK SLA record.


      But is there any alternate solution ? I read - Workflow Validator - ValidateScriptForCurrentDotUpdate - ServiceNow Wiki