What is the difference between workflow context and workflow version and their use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2018 10:42 PM
What is the difference between workflow context and workflow version and their use
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2018 10:59 PM
Hi,
The workflow context performs the activities and transitions defined in the workflow with the new record as current. Workflow in ServiceNow names a running workflow a Workflow Context. Workflow context provides a runtime environment to run work flow.
Whenever you publish a workflow a version of workflow is created. Which helps, to prevent users from making changes to a workflow(current version) that affect other users of the system. Only one user can check out a workflow at a time. When a workflow is checked out, changes apply only to the user who has the workflow checked out. Other users can continue to use the published(published version) workflow. After the changes are complete, the workflow can be published so that it is available to all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2018 11:01 PM
The Workflow Context maintains the state of the overall process in the Workflow. It provides a visual representation of the execution path the workflow.The link Show workflow on the form basically shows the workflow context for the current record.
When a workflow is checked out or re-published, it creates a new entry in the wf_Workflow_Version table.Only one user can check out a workflow at a time. When a workflow is checked out, changes apply only to the user who has the workflow checked out. Other users can continue to use the published workflow. After the changes are complete, the workflow can be published so that it is available to all users.
When a new version of an existing workflow is published, the changes are not applied to running workflow contexts. Any currently running workflow context continues using the workflow version that was available when the workflow started. The next time the workflow runs, it uses the updated, published version.