Flow not executing for non-admins

Lisa43
Tera Contributor

Hi,

I have various different flows created in Flow Designer for different items on the Service Catalog.

These have all been created with a very similar setup, Catalog Item triggers the flow and the cascade of dictated SCTASKS then create as per the flow.

Whilst most of these function as expected, we have started to see that the most recent ones created are not processing when the itil user places the order on the catalog item. It seems to start the flow and then does not pass the first SCTASK.

On checking I can see it failing with the following error:

Operation failed with error: com.snc.process_flow.exception.ProcessAutomationException: The requested flow operation was prohibited by security rules.

I have looked at the setup of these flows and they are the same as others previously created. There is no wait for condition on the SCTASKS or anything to stop it from following through. 

If a system admin creates the RITM through the catalog the flow executes as expected.

Any ideas on what could be causing this issue?

1 ACCEPTED SOLUTION

Brian Lancaster
Tera Sage

Under Flow properties Advanced options what is the Run As set to?

View solution in original post

3 REPLIES 3

Brian Lancaster
Tera Sage

Under Flow properties Advanced options what is the Run As set to?

Hi, its currently set to Run As - User who initiates session

Lisa43
Tera Contributor

As I checked this, I thought I would look to see what some known working ones are set too and they are currently set to Run As - System User
I amended the the non-working ones in my Dev environment and tested it - this now works as expected.

Thank you for pointing me in the right direction - much appreciated 🙂