The Now Platform® Washington DC release is live. Watch now!
01-10-2019 12:59 AM
Here's list of things to avoid when building a workflow:
Here's list of things to include when building a workflow:
new Workflow().broadcastEvent(wfContext.sys_id, 'update');
Here is a list of useful articles related to Workflow:
01-10-2019 01:28 AM
Excellent article, thank you!
One question, could you elaborate on "Don't use stage field to drive the workflow. Workflow sets the stage field."?
I don't think I understand exactly what you mean here. I often set the workflow stages in Requests\RITM, is that bad? Why?
01-10-2019 02:10 AM
Thank you mrkesu.
I mean that workflow stages shouldn't be used to pass from one activity to another in conditions, scripts, workflow scratchpad... In stead, this field only indicates workflows progress.
In addition workflows can indicate their progress by updating any field designated as a Stage in a certain table like for example Incidents have their own Incident state that indicates progress, but the service catalog don't. They use the workflows Stage field.
Here is a useful link for workflows Stages: https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/using-workflows/concep....
Kind regards
FIKRI BENBRAHIM Mohamed Jawad
01-24-2019 02:21 AM
Thanks for this summary.
Can you please elaborate on the point "There can only be one Manual Approval activity within an Approval Coordinator activity."
Why would you think would this generate an issue and how can this be replicated?