Skip to main content
16-Pearl
July 28, 2017
Question

Change state (lock) on primaryBusinessObject on CR

  • July 28, 2017
  • 0 replies
  • 694 views

Good Morning,

I am looking for some (a lot of) help.

I have a CR workflow that I need to lock down (Set to UNDERREVIEW)  any Affected Data that is "INWORK" state but do nothing if it is not.

As I have a rework loop, I need to opposite. Anything that is "UNDERREVIEW" to INWORK else nothing.

 

Cheers.

 

Requirement. If primaryBusinessObject = INWORK then set sate UNDERREVIEW, else do nothing.

wt.change2.WTChangeRequest2 eCR = (wt.change2.WTChangeRequest2) primaryBusinessObject;

String state =