You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring an "Invoke a workflow in this workflow app" action within a parent workflow, using a formula to dynamically generate the workflow name (e.g., concat('test-child', 'stateful-workflow')) leads to a validation error upon execution, even though no validation errors are displayed while saving the workflow.
Plan Type
Standard (VSCode)
Steps to Reproduce the Bug or Issue
Reproduction Steps:
Create a new workflow project with a workflow named test-parent-stateful-workflow.
Create a second workflow named test-child-stateful-workflow with a request and response.
Open the parent workflow and configure it as follows:
Set the trigger to "When an HTTP request is received".
Add an "Invoke a workflow in this workflow app" action.
Under "Workflow name", select "Enter custom value" and use the formula: concat('test-child', 'stateful-workflow')
Add a response action.
Save the workflow and note that no validation errors are displayed.
Debug and run the workflow.
Expected Behavior:
The workflow should execute successfully, dynamically resolving the workflow name.
Actual Behavior:
The workflow saves without validation errors.
Upon execution, the workflow fails with the following error in the terminal:
Workflow 'test-parent-stateful-workflow' validation and creation failed. Error:
'The provided workflow name '@concat('test-child', 'stateful-workflow')' has these invalid characters '@'', '''.
The name can only be a letter, digit, '-', '.', '(', ')' or '_'.'
Describe the Bug
When configuring an "Invoke a workflow in this workflow app" action within a parent workflow, using a formula to dynamically generate the workflow name (e.g., concat('test-child', 'stateful-workflow')) leads to a validation error upon execution, even though no validation errors are displayed while saving the workflow.
Plan Type
Standard (VSCode)
Steps to Reproduce the Bug or Issue
Reproduction Steps:
concat('test-child', 'stateful-workflow')
Expected Behavior:
Actual Behavior:
Workflow JSON
Screenshots or Videos
Additional context
The inability to use dynamic workflow names prevents efficient routing of business workflows based on input payload values.
The text was updated successfully, but these errors were encountered: