Skip to content

Parent workflow fails to refer a child workflow even though both are present in the same Logic App #1530

@VishalTrivedi

Description

@VishalTrivedi

Describe the Bug

When a parent workflow which refers a child workflow, both the workflows are in the same logic app and the parent workflow is saved, the save operation fails with an incorrect error as following:
"The child workflow 'xyz' could not be found in the logic app. Both the parent workflow 'abc' and the child workflow 'xyz' must exist in the same logic app.

Plan Type

Standard

Steps to Reproduce the Bug or Issue

  1. Create a new workflow - wfChild
  2. Create another workflow - wfParent
  3. Add action Invoke Workflow, specify to call wfChild
  4. Attempt to save wfParent
  5. Observe the incorrect error
{
  "code":"NestedWorkflowNotFound",
  "message":"The child workflow 'wfChild' could not be found in the logic app. Both the parent workflow 'wfParent' and the child workflow 'wfChild' must exist in the same logic app."
}
  1. Attempt to save wfChild, observe the correct error:
{
  "error": {
    "code": "ValueNotSupported",
    "message": "The trigger 'When_a_HTTP_request_is_received' at line '1' and column '1867' is not valid. The 'operationOptions' property value 'SuppressWorkflowHeaders, SuppressWorkflowHeadersOnResponse' is not supported. Only the 'EnableSchemaValidation, SuppressWorkflowHeadersOnResponse, IncludeAuthorizationHeadersInOutputs, PersistRequestContextForConcurrencyControl' operation options are supported for triggers of type 'Request'."
  }
}

Workflow JSON

Screenshots or Videos

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions