We have a custom workflow which contains timeout in one of the steps. This timeout will get the datetime value from an output parameter of a custome code activity. However, even before the workflow starts, an error already occurred. Refer to: Workflow paused due to error: Unhandled Exception: System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error: Compiler error(s) encountered processing expression "CustomActivityStep5GetLeadRoutingTimeout_localParameter".Invalid L-value expression.:Reference expressions cannot end with Conversion. The provided expression's type must exactly match the type T of VisualBasicReference<T> or LambdaReference<T>. It seems to me that it was not able to accept datetime value.
Has anyone tried similar approach that succeed?