cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a asynchronous user decision from standard

Former Member
0 Kudos

Hi .

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.

Plz advice.

Regards,

Shashank

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

  Yes ,as Rick said, there is no need  to need to use Asynchronous method. You can use BLOCK step with PerForEach. And use User Decision step there. That will serve your purpose.

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

Search for dynamic parallel processing, this will send it to all relevant users at the same time. There is no need to make it asynchronous.

(I'm assuming that all of the relevant users have to approve, instead of just one)

regards

Rick Bakker / hanabi technology