Wait for Condition to check if the state value has changed

snowuser111
Kilo Guru

HI Guys,

Need help.

I have created a workflow and stuck at one place if you can guide me.

-I have tablea and tableB

-tableB has a field reference to tablea (in tableb i have field called fieldb -->reference to tablea number say 'recorda')

-i have created workflow in tableb and now at some point of time i need that if recorda status = active status of tableb should also be active.

-i have put "wait for condition" and in that activity gave condition tablea.status = active OR tablea.status = cancelled----nd then switch to check the status.

-now i want if tablea.status = active , then tableb status also to be   = active and if tablea.status = cancelled, then tableb status also to be   = cancelled

-but i see workflow to be paused at Green only though i update the recorda.status = active OR cancelled.

Please suggest where am i going wrong or need t use some other activity

Thanks

1 ACCEPTED SOLUTION

nishailame
ServiceNow Employee
ServiceNow Employee

Can you give us a screenshot of your activity how you are setting these conditions? You need to use a script if you are checking fields on two different table.


Also, as suggested by Pradeep, if you want to set the value of field in table b with reference to table a's field value, you can use BR.




Thank you.


View solution in original post

5 REPLIES 5

Thanks All i used script and it worked