The CreatorCon Call for Content is officially open! Get started here.

How to use setWorkFlow() API in a Scoped Application

Joe83
Kilo Contributor

Hi ServiceNow Community Developers,

I have a very simple business rule in scoped application that is using a setWorkflow() API to disable subsequent business rules so they can't run. I am using it exactly the same way as explained in the developer website for scoped APIs. When I run the business rule though it's throwing the error as shown in the screen shot belowfind_real_file.png

Here is the business rule:

find_real_file.png

Please take a look and advise.

Thanks,

John

10 REPLIES 10

You didn't keep us posted. 😞 @Joe83