1. In main workflow, after enrichment activity add subworkflow activity.
2. In Subworkflow, you already have the access to events variables and to access temp variables which you have added in enrichment activity get the schema definition passed to the first jump activity of subworkflow. For this you need to create one variable which hols the schema definition(schema.element) .
3. Once you have the elementXML , Loop to populate Temp schema
I have tried to manually write into the split what the incoming field to split on will be called, but the error says that he field is not anywhere in the schema.
I cant create an enrichment with the same field in a temporary schema directly upstream because then the flow won't work.
Essentially I am asking if I can do a custom specification in a split that an incoming field in a temporary workflow schema will come and to filter on value x. Note - the data is coming via a subworkflow so the function upstream of a split is a jump landing point - which does not store the temporary schema in isolation.