Trigger Approval WorkFlow from scoped non Task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 12:14 PM
Does anyone know how to trigger an approval for a scoped app within a non task table?
There is a good article here the describes how only Workflow, and specifically, only the Approval - User activity can manage approvals on non-Task records.
https://community.servicenow.com/community?id=community_blog&sys_id=0bcda2e9dbd0dbc01dcaf3231f96198d
The catch is, how do you call it from scoped app because that also has limitations. Example, extend the contracts table "ast_contract" and then try to submit for review. The response will be "Invalid attempt to run privately scoped workflow 'Contract Approval'".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2022 09:56 PM
Hi,
Please follow this official Documentation (Workflow Restrictions section) - Workflow scope restrictions
- ECC queues
- Tasks
- Approvals
- Events
- SLA timers
- Timers
- Script includes
- Business rules
- Workflow APIs
As you design workflows, validate the visibility and accessibility of all resources prior to deployment.
Regards,
Sai Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 04:31 AM
I also read this article and yes, you cannot call global approval workflows across from a scope. So what is the strategy for adding an approval workflow to a scoped app?