Skip to main content
Solved

Cannot create script task at start of workflow, cannot assign ifsBpaEnrichmentRegisteredVariables

  • August 5, 2024
  • 1 reply
  • 71 views

Forum|alt.badge.img+2

I have a workflow where I need to potentially fetch multiple items based on a collection, and then create an item based on those results, so I created a subprocess that starts with a script task to create an empty list that then gets appended to as necessary later on. However, when I try to troubleshoot or validate this, I get this error:

Workflow validation failed with the following errors:

Element Activity_0udl8nd: The Enrichment Input Parameter ifsBpaEnrichmentRegisteredVariables cannot be defined on an element other than Service Task.

I have created workflows with script tags and no service tasks before, including one where the script is the first item, with no trouble; I could call execution.get/setVariable just fine to perform logic on data fed into the workflow or fetched via an API. I have found literally nothing about ifsBpaEnrichmentRegisteredVariables in the community, and there is no logical connection I can think of that explains why script tasks are fine elsewhere but not here.

Best answer by PhillBronson

Check to make sure there are no parameters in the Input/Output tab of Activity_0udl8nd

The error seems to be referring to this area

 

1 reply

PhillBronson
Hero (Customer)
Forum|alt.badge.img+11
  • Hero (Customer)
  • Answer
  • August 9, 2024

Check to make sure there are no parameters in the Input/Output tab of Activity_0udl8nd

The error seems to be referring to this area