Create a task using a business rule

matthew_strecke
Kilo Contributor

I'm using a custom application and trying to create a task when another record is created. My business rule is as follows, find_real_file.png

The dataset receipt is the parent record and I'm trying to create the task through this business rule. However, I've tested it a few times and nothing happened. Any suggestions?

4 REPLIES 4

Chuck Tomasi
Tera Patron

Can you show "When to run" tab? A common mistake is to forget to check the "Insert" or "Update" checkboxes.


I have it running on after and the insert check box checked. Since I'm trying to do this on the creation of the dataset receipt.



Thanks,


Matthew Strecker


Try going to System Diagnostics> Debug Business Rules, then run your test case again. You'll notice the debug output at the bottom of the form. It tells what business rules ran, which didn't, skipped, etc.


Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Were these tables created in a scoped application?   If so I noticed your business rule is running in Global and it may not have the rights to create a record in the scoped table.   You can adjust the settings on the table definition record.