cancel
Showing results for 
Search instead for 
Did you mean: 

Action in Parallel Dynamic Block

Former Member
0 Kudos

Dear Experts,

My Process Structure is as follows..

Process

Sequential Block

Action 1

Parallel Dynamic Block

Sequential Sub Block

Action 2.

Action3.

I am trying to call the Action3 after completing Action 2.At that time i am gettin gthe following error.

Transition between blocks cannot be defined because there is a parallel block in the path

Can we call the Action1 after completing the Action2.? Is it possible?

Regards,

Rajesh.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

..

Former Member
0 Kudos

Hi Rajesh,

In the senario mentioned I am assuming Action 2 is in Sequential Sub Block.

Sequential Sub Block and Action 3 are in Parallel Dynamic Block.

Now, You are getting that information message because in parallel block and parallel dynamic block you can't jump outside the block through result state. You have to either complete the block or assign "terminal" to it's result sate.

if your requirement is this,

on completion of Action 2 control should move to Action 3 then just assign "terminal" to the result state of Action 2.

This will take care that control moves to Action 3 as soon as Action completes. This is default functionality of parallel block. If one leg gets completed control will focus on other leg.

2> "Can we call the Action1 after completing the Action2.? Is it possible?"

You can do it once after your parallel dynamic block is completed. You can't achieve this within parallel block as transition is not allowed.

Regards,

Pratik

Edited by: Pratik Khandelwal on Jun 29, 2009 1:31 PM

Former Member
0 Kudos

Dear Pratik,

I need some help regarding my issue.

My Process structure as follows.

Process

->Sequential Block

--->Action1

--->Parallel Dynamic Block

-


>Sequential Sub Block

-


>Action2

I am able to trigger the tasks to multiple users.

Action2 has to perform by multiple users.

Action2 contains Webdynpro Callable Object.

Webdynpro CO view contains two buttons namely "Approve" and "Send Back".

My requirement is

1)If All users selects approve then Action2 has to complete and control moves to Action1

2)If anyone selects Send Back then Action2 will be completed and control moves to Action1.This process will be continues still all the users Approve.

I am struggling for this requirement so please try to help me.

former_member280025
Active Participant
0 Kudos

Hi,

Use the result set concept. In complete function, complete the processing with that result state. In GP design time, set the result set to Action 2.

Regards,

Niraj