I am trying to create an asynchronous user decision.
Firstly the purpose of creating this is to call dynamic number of users for user decision.
Basically FI Document is parked At that moment I need to call workflow for user decision depending on the number of cost centers associated to that posting.
I mean every cost center would have a concerned user in order to approve that amount in his cost center. Cost Center Vs User will be in a Z table.
As of now I was able to get users in a multi line variable and I am also using a loop to fetch user agent one by one between which I want to make an asynchronous user decision so that user decisions would go to concerned at one rather than going one by one in that loop.
Currently what I have achieved here is to create a copy of original DECISION Object and marked its methods as Asynchronous .
I also created a custom task in order to call the user decision. how ever when i run it in test mode it stops on the first user desicion rather that completing the whole loop of users.