Business Rule Script help, Please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2023 07:45 PM
Hello,
The good news is I have everything almost working but I am having trouble with my business rule script. Here is a summary of my progress and the script details.
I created a configuration item called ProjectManagement
I created a variable called configuration item and set the default value to the sys id
This part enabled the configuration to be added(hidden)on the catalog item
I then created a business rule to copy the variable configuration to the Request field called configuration item. So far all of the above has worked as expected.
Then I created a business rule to set the request state to New if the configuration item is Project management. This last part isn't working and changing the state. I set the table to Request, when to run is after, filter confidition is Configuration item changes to ProjectManagement.
Anyone have any ideas why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2023 08:33 PM
@Gemma4 I can guide you to check whether your BR script works or not.
Take a record and use background script to change a state and first checke if it works there.
If working then verify if any other BR rules with diffrent order interrupt.
Hope this will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 10:03 AM
That sounds like a good idea. Do you have an example of what I should include in that background script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2023 08:53 PM
Hi @Gemma4 ,
Can you show the filter condition how is it set?
Also, I believe OOB you don't have New state for Request table, check if you have created one.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 03:29 AM
Hi everyone,
I corrected the typo @Chetan Mahajan suggested but unfortunately still no luck. That was a good catch though, thanks.
Attached is the when to run and filter condition. Thanks so much for all the feedback!! Please let me know if you have any other recommendations, I need to provide an update this morning to the business. 😩