Workflow Decision Table issue

gsimoes
Tera Contributor

Hi,

I have created a workflow to send an email (target address is based on a decision table) when an incident is created with a certain priority. We have a service catalog item that creates an incident with the noted priority.  If I select and submit that catalog item as myself, the workflow works exactly as intended. However, if I impersonate other users and follow the same steps, the workflow throws an error that the email has no recipients. I assume that the user does not have permission to access the decision table and that is causing the problem. The workflow is set to run as "System User" so I'm not sure what else I can do to address this issue. Any thoughts?

 

ETA: Sorry, found the issue. If anyone encounters a similar issue, note: If you have a workflow that uses a decision table, configure the WF to "Run as System User" in the initial pop-up when you're newly creating it. I think there's a glitch whereby Workflow Studio does not pass along permissions to Decision Tables if you set the WF to run as System User in the properties after the fact.

1 ACCEPTED SOLUTION

Rafael Batistot
Tera Sage

Hi @gsimoes 

 

When creating a new workflow that needs to access resources with restricted permissions (such as decision tables), ensure that you set the "Run as System User" option from the very beginning in the initial creation wizard. Do not rely on changing this property later in the workflow's properties page.

View solution in original post

1 REPLY 1

Rafael Batistot
Tera Sage

Hi @gsimoes 

 

When creating a new workflow that needs to access resources with restricted permissions (such as decision tables), ensure that you set the "Run as System User" option from the very beginning in the initial creation wizard. Do not rely on changing this property later in the workflow's properties page.