RITM CI should be duplicate to SCTASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2025 05:12 AM
Hi ,
Good Day.!
Requirement is :
whatever the CI am selecting when submitting in RITM, that same CI should be duplicate / auto reflect to SCTASK also.
Screenshot can't post, sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2025 10:27 AM
This works, I wonder why others don't test before posting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2025 08:05 AM
Hi @NAYEEMURR
Option 1: Business Rule on sc_task
-
Table: sc_task
-
When: before insert
-
Script:
var ritm = current.request_item.getRefRecord();
if (ritm.isValidRecord()) {
// assuming your variable is "configuration_item"
var ci = ritm.variables.configuration_item;
if (ci)
current.cmdb_ci = ci;
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2025 05:12 AM
Thanks for reply.
not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2025 09:39 AM
Why post here if you can't provide any details. Try Reddit, Stack Overflow, Google, ...