Is there a way to select from a list of workflows to launch

Confluence User - 04 May, 2021

I want to be able to select a dropdown from a record for a service type and launch the right workflow. I think I will need a list of the workflows with the id as a form field. I might have a lot of workflows so not sure a decision will be effective.

I tried a subprocess and thought I might pass the value (selectedProcess) as a variable but the subprocess seems to require a specific process.

process

1


04 May, 2021
confluenceUser
confluenceUser

Hi, do you mean that you wish to populate a select box with the list of available processes to launch? If so, I would think that you can use some BeanShell scripting as an options binder like in Bean Shell Programming Guide#UseasFormOptionsBinder to call the appropriate API, perhaps WorkflowManager#getProcessList.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print