Expand my Community achievements bar.

SOLVED

Variable as name for subprocess

Avatar

Former Community Member

I wonder if anybody knows of a way to use a process variable from a main process as the name of a subprocess. All subprocesses have identical input and output variables, but different process activities. If this is possible, I could call subprocesses based on data being sent to the main process. I am running LC ES2 SP1 on Win/JBoss,  Thank you!!

1 Accepted Solution

Avatar

Correct answer by
Level 10

You would have to use the API to dynamically decide which process you want to call.

That means you could use the Execute Script service or build a custom component that takes the name of the process you want to call as an input parameter.

Jasmin

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You would have to use the API to dynamically decide which process you want to call.

That means you could use the Execute Script service or build a custom component that takes the name of the process you want to call as an input parameter.

Jasmin

Avatar

Former Community Member

Thank you Jasmin! I appreciate your help. I'll use the approach you suggested.