- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:50 AM
Hi All,
I created a catalog item called "Delegate Roles". A variable like delegate table fields is created on that catalog item. A workflow is created and mapped to a catalog item. In that workflow I gave approval to my client's manager, if she approves the records should be created in the delegate table. After the Approves step created a run script and map to the delegate table to that workflow. Run script is working fine.
Here my issue is while approving from Admin account (My Account )record is creating in delegate table, But my manager approving (she has user_admin role)the request record is not creating in the delegate table.
Run Script is :
Thanks,
Suresh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:55 AM
Hi @suresh40 ,
In most cases, this happens because the last action before automation was performed by someone who does not have the required access.
A simple solution is to add a timer action in the workflow right before your script action.
It can be a simple 3 second timer.
This ensures that all actions after it are performed via the system, which would have the required access.
Hope this helps!
Thank you,
Vedang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:53 AM
Check the ACL's, because it could very well be that you can only create a delegate record for yourself (unless you are the admin).
Maybe use a flow instead of a workflow and set it to run as administrator. It bypasses this issues.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 12:55 AM
Hi @suresh40 ,
In most cases, this happens because the last action before automation was performed by someone who does not have the required access.
A simple solution is to add a timer action in the workflow right before your script action.
It can be a simple 3 second timer.
This ensures that all actions after it are performed via the system, which would have the required access.
Hope this helps!
Thank you,
Vedang