Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to pass previous values from business rule to script action in servicenow?

RohitRR
Tera Contributor

Hi Team,

 

I am unable to pass previous values to Script action from Business Rules, Could you please help me.

 

Many thanks,

Uday G

2 REPLIES 2

James Chun
Kilo Patron

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

 

Sohail Khilji
Kilo Patron

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....

LinkedIn - Lets Connect