Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement]: Allow substitutions on process name #689

Open
commi235 opened this issue Nov 8, 2023 · 1 comment
Open

[enhancement]: Allow substitutions on process name #689

commi235 opened this issue Nov 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@commi235
Copy link
Collaborator

commi235 commented Nov 8, 2023

Feature description

Process Name should be able to pick up any substitutions from process variables.
For this we add a new attribute on process/collaboration which takes the default process instance name.
When called via flow_create one can still overwrite the default but parameter pi_prcs_name will be changed to optional.
On flow_start the engine will take the given process name and run it through process variable substitution.
This way we can allow better dynamic process instance names while still retaining previous behaviour.

This also links to Message Start Events, those need an easy way to set process variables when triggered.
This needs to happen before the flow_start call, so above substitution also works there.
see #687 for details on that.

Describe alternatives you've considered

No response

Additional context

No response

@commi235 commi235 added the enhancement New feature or request label Nov 8, 2023
@rallen2010
Copy link
Collaborator

With msg flow start events creating processes, this becomes important. Should also look at this for user tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants