What do you need to do to make this possible?

You are creating a business process (mybusinessprocess) that requires an action (actionB) to pass an info String value to another action (actionE) occurring later in the process.

What do you need to do to make this possible? Note: There are 2 correct answers to this question.
A . Create a myBusinessProcess item type that extends BusinessProcess and adds an info String property. Use an instance of this type to start the process in your Java code with businessProcessService.startProcess(new myBusinessProcessModel).
B . Create a myBusinessProcess item type that extends BusinessProcess and adds an info String property. Specify myBusinessProcessModel as the processClass argument to the process
C . Create an event myEvent that extends the AbstractProcessEvent and adds an info String property. Register the target action as a listener for this event. Fire the event with eventService.publishEvent (myEvent).
D . In the mybusinessprocess.xml definition file, define an info event and configure actionB as the event’s originator and actionE as its target. Trigger the event in the class implementing actionB using businessProcessService.triggerEvent(info).

Answer: A, B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments