cancel
Showing results for 
Search instead for 
Did you mean: 

Select User based on a Precondition Value

Former Member
0 Kudos

Hi,

This is how we are doing,

MyProcess

-


Sequential Block

-


Action A

-


Calable Object (Provide User Inputs)

-


Parallel Block

-


Precondition Loop Block 1

-


Action B

-


Callable Object (Checks if the Input Value matches condition 1)

-


Loop Body Block 1

-


Action C

-


Callable Object (CO 1)

-


Precondition Loop Block 2

-


Action D

-


Callable Object (Checks if the Input Value matches condition 2)

-


Loop Body Block 2

-


Action E

-


Callable Object (CO 2)

-


Sequential Block

-


Action F (Reference 3)

-


Callable Object

My Question:

I want to assign Action F to a User using the Callable Object referred to as CO 1 and CO 2 at Runtime. Is this possible?

Regards,

Mathan MP

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member4529
Active Contributor
0 Kudos

Hi,

Yes this is possible by dynamic user assignment.

Define an output parameter for CO1 and CO2 and an input parameter for the CO under action F of type string. In design time select the processor of action F as "Filled from Context Parameter" in the Roles tab and select the input parameter you have defined as mentioned in the previous step. Now group the output parameter of the CO1 and CO2 and the input parameter of action F together.

Now at runtime fill the context parameter from CO1 and CO2 with the actual user name. The action F will get automatically assigned to that user.

Thanks,

Dipankar