Case Management | issue in data mapping from maestro flow output to agent input

I’m getting a json as output (argument name: response) from a maestro flow in the case management.
Now, I am passing the that output to the agent as an input (argument name: inResponse) but I’m getting error: Input does not conform to schema\n.required:Required properties ["inResponse"] are not present\nErrorCode:Agent.InputArgumentsSchema\n

I have tried plenty of way to pass this and nothing has worked till now, below are some of the mothods:

  1. respose type string, inResponse type string inResponse=response
  2. respose type object, inResponse type object inResponse=response
  3. respose type string, inResponse type object inResponse=response
  4. respose type object, inResponse type string inResponse=(string)response
  5. respose type string, inResponse type object inResponse=(object)response

Can anyone provide a correct way to do this.

Also if anyone know how the data binding/mapping should be done between the tasks in case management that would be really helpful as I am getting lot of data binding issues here and there more than the actual processing issues.

Thanks in advance.

I have tried a different way now and it’s working for now.

Instead of passing out json directly from maestro, I have serialized it and then passed and mapped.

It’s working in test flow, I’ll test end to end case and then update if it works.

1 Like

@Rohit_More,

Glad to hear that. I revisited the question and thought my answer would be irrelevant here :smiley:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.