UDRs entering an Analysis agent are referred to as input types, while UDRs leaving the agent are referred to as output types. The input types must be specified, while the output types are calculated from the input types and the APL code.
Info | |||||||
---|---|---|---|---|---|---|---|
Example - Input and Output typesSuppose there is a workflow with one Analysis agent, one input route streaming two different input types (typeA and typeB), and two output routes. The two output routes take two different UDR types - the first equaling one of the input types (typeA), and the second is a new UDR type (typeC) which is created out of information fetched from the other input type (typeB). The APL code:
The first Without any typecasting, the output type on r_2 would have been reported as an undefined UDR, drudr, and the workflow would not have been valid. |