Here is a small challenge that is bothering me for a while now.
I'm trying to make SmartObject that will return XML structure with needed approvers (serial and parallel).
So I need to dynamically create destination sets (serial) and put users inside for parallel approval.
Example xml:
<approval DestinationSetName="Step1">
<approver>K2DEMOUser1</approver>
<approver>K2DEMOUser2</approver>
</approval>
<approval DestinationSetName="Step2">
<approver>K2DEMOUser3</approver>
</approval>
any ideas?
