I am currently using Zeebe to implement my scene.
Start->TaskA->TaskB->End
The TaskA return value is a List type: A_Response a_Response
public class A_Response
{
public List<A_Detail> A_Details { get; set; }
}
public class A_Detail
{
public string Prop1 { get; set; }
public string Prop2 { get; set; }
public string Prop3 { get; set; }
public string Prop4 { get; set; }
}
The input parameter of TaskB is also a List type:
public class B_Command
{
public List<B_Args> Args { get; set; }
}
public class B_Args
{
public string Prop1 { get; set; }
public string Prop2 { get; set; }
public string Name { get; set; }
public string Age { get; set; }
}
How do I map A_Response to B_Args? Because of the Name in B_Args, the Age attribute is derived from other key in Variable.How to map the prop2, prop3 of response to name, age