Hi,
We are facing the issue when we are converting the Strored procedure result in to data subset.
Steps:
Called the SP in Expression Rule using fn!executestoredprocedure.
Casted the result[1] to one of the CDT
converted to todatasubset. and tested its working fine.
now when we are calling this rule from another expression rule that time we are getting the following error from the parent rule(SP execution rule) like
Expression evaluation error in rule '<parent rule calling the fn!executestoredprocedure>' at function 'todatasubset' [line 287]: The given data type is not a complex type: TypedValue[it=34513,v={{0, etc...
Can any one have clues to resolve. this issue coming only when we are called that rule from another rule.
Thanks in Advance.
Discussion posts and replies are publicly visible
This is been resolved by applying a!flatten to the response before converting to todataset :)
Thank you for adding the solution!