This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Input 1 is a required input with a Field Map shown. I have some optional fields and some required fields.
Input 2 is an Optional Incoming Connection without a Field Map.
Both of these inputs have different structures.
The intent is to transform Input 1's data.
Input 2 is a parameter file that feeds into a Dynamic Replace. The intent is to make Input 2 completely optional, but if connected, will alter date fields in certain ways.
If I do not connect anything to Input 2, there is no error. However, if I connect a stream into Input 2, I get an error: The required field is not contained in the record, and the error references to Input 1's tool in my macro.
It seems as if my macro expects the Field Map from Input 1 to be respected for Input 2 as well. Is this a bug, and how do I get past this? Or am I interpreting the function wrong?
Sorry for taking so long, I scrubbed the data a bit. I'm attaching the macro and a yxmd file of how it should be utilized.
This is part of a much larger macro, so there will be a lot of tools that might not matter in the analysis. Sorry for the disorganization, it's still a WIP.
The relevant tools are Tool 168 I Input and Tool 202 D Input.
I just created a simple macro (with 2 Macro Inputs directly feeding into 2 Macro Outputs) just to see if it was a bug, and that simple macro worked as expected without the error, so it's something in my workflow.
I incrementally removed tools from the macro, and repeatedly rechecked the workflow to see if the error went away. I did this with the purpose of trying to figure out exactly which tools might be causing this. I've whittled it down to this simple macro below. Unfortunately, even here, the issue still persists. How could this possibly be?
The I node has a field map, the field id refers to a field from the CSV input that was configured to map to another field in the macro.
The D node is optional and has no field map.
I resolved my issue actually, but I still don't understand the root of the error. I recreated the macro in a new workflow. All I did was create new Macro Input tools, copied the rest of the workflow over, and reconnected the new inputs to other tools. These inputs were configured exactly the same as their original. This fixed it. Could this simply be a bug?
I checked the Workflow Configuration (canvas, workflow, runtime, events, meta info) and found no discrepancies between the original and the new macro. Is there another place where I am not looking?