[midPoint] Access to assignhments in message generation
Pavol Mederly
mederly at evolveum.com
Tue May 19 15:06:42 CEST 2015
It should be possible. Let event be an instance of WorkItemEvent. Then:
- event.getProcessInstanceState() is an instance of ProcessInstanceState (it maybe will be renamed to ProcessInstanceStateType in later versions of midPoint)
- in its "processorSpecificState" attribute there is an instance of PrimaryChangeProcessorState, which in turn has the attribute "delta"
- delta contains the delta that is being approved
In your case, the delta should contain the assignment that is to be added.
I'm not sure that I've actually tested this, but it should work. If not, just let me know.
Pavol
----- Original Message -----
From: "Алексей Ващенков" <a.vashchenkov at solarsecurity.ru>
To: midpoint at lists.evolveum.com
Sent: Tuesday, May 19, 2015 1:48:04 PM
Subject: [midPoint] Access to assignhments in message generation
Is it possible access to requested assignments while message generation?
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint
More information about the midPoint
mailing list