How to run workflow as system user

deepindersingh
Tera Contributor

Hi!

 

I have created a catalog item workflow but am struggling to find the setting to run as a system user.

Does anyone know where I can find it?

 

Thank You

Deepinder

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

I assume you are referring to what is now known as the legacy workflow via Workflow Editor.  If only it were that easy.  They seem to all begin running as the system user for us, then sometimes continue that way.  We've run into trouble a few times because a Run Script activity doesn't work for end users.  After a lot of searching and head scratching we discovered the script was running as an end user, not system.  In those cases it was caused by the Run Script immediately following an activity like an approval or Catalog Task where a user interacted with the RITM record - so the script was running as the last user to update the RITM.  We put in 10 second timers in these scenarios, which somehow causes the workflow to go back to running as the system user.

deepindersingh
Tera Contributor

deepindersingh_0-1726164001182.png

Yes, you are right, it is in the legacy workflow editor and gets stuck at this stage Waiting for Approval to show in the snapshot but when I run it works fine when impersonating other users it gets at that stage.

What does the executing workflow show, when viewed from the RITM Related Link?