Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SLA Flow not triggered

James100
Kilo Expert

HI,

I created a flow with trigger = "SLA Task" and application = my scoped application, and link it to a SLA defination.

But when a record is created in Task SLA table, the flow was not triggered.

When I change to another SLA flow with application = "Global", this time, the flow was triggered. However, I got below error msg saying can't write to tables from Global to scoped app.

Scope does not have write access to table x_aaa_bbb.

Any advice for such a situation? why the flow with scoped application doesn't work?

1 ACCEPTED SOLUTION

yueyunbo1
Giga Contributor

I met the same trouble, and don't know the reason. It seems like a bug, I think.

According to the system log, there is error message shows error about application scope.

In order to keep using scoped flow, I changed the trigger, and add a look up record action of SLA task table, with the condition like task is the record created in my scoped application.

Then use a script to trigger the flow instead.

View solution in original post

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello James,

Can you check the target table application access setting? Details here https://community.servicenow.com/community?id=community_blog&sys_id=44ad22a9dbd0dbc01dcaf3231f961921

 

- Pradeep Sharma

yueyunbo1
Giga Contributor

I met the same trouble, and don't know the reason. It seems like a bug, I think.

According to the system log, there is error message shows error about application scope.

In order to keep using scoped flow, I changed the trigger, and add a look up record action of SLA task table, with the condition like task is the record created in my scoped application.

Then use a script to trigger the flow instead.

Good workaround! Thanks YunBo.