How to pass previous values from business rule to script action in servicenow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 08:16 PM
Hi Team,
I am unable to pass previous values to Script action from Business Rules, Could you please help me.
Many thanks,
Uday G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 11:06 PM - edited 03-24-2024 11:07 PM
Hi @RohitRR,
I am assuming you are creating an event and passing the 'previous' values as its parameters.
Can you share what you have done so far and is there a need to invoke a separate Script Action?
Why not do everything within the BR?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 01:24 AM
Hi @James Chun ,
1. Try to log the previous value in a variable and see if you get any value in it.
2. how are you passing the value from BR or Script Action.
3. can you share more info...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....