Hello All,
I am currently working on an enhancement project and need to pass in_transactionItem within 3 invoke workflow activities in Process.xaml.
Could you please suggest the appropriate approach to achieve this?
Thanks,
Nawaz
Hello All,
I am currently working on an enhancement project and need to pass in_transactionItem within 3 invoke workflow activities in Process.xaml.
Could you please suggest the appropriate approach to achieve this?
Thanks,
Nawaz
You can pass the in_TransactionItem from Process.xaml to each invoked workflow using workflow arguments.
in_TransactionItem.in_TransactionItem from Process.xaml.For example:
Process.xaml → in_TransactionItem → Invoke Workflow arguments → ChildWorkflow.xaml
Make sure the argument type is the same in all workflows, such as QueueItem, DataRow, or the type used in your REFramework transaction.
Hope this helps!
In Process.xaml, the in_TransactionItem is already available as the current transaction item. If you need to use it in 3 different invoked workflows, you should pass it through arguments.
For each child workflow:
in_TransactionItem.QueueItem, DataRow, etc.).Process.xaml, map the parent in_TransactionItem to the child workflow argument.This way, all three workflows can use the same transaction item.
Example:
Process.xaml (in_TransactionItem) → Workflow1 → Workflow2 → Workflow3
Just make sure the argument type matches the transaction item type.
Hi @mohammed_nawazuddin1 ,
If you need to use in_TransactionItem in multiple Invoke Workflow File activities inside Process.xaml, the best approach is to pass it as an In argument to each invoked workflow.
in_TransactionItem) in each child workflow.in_TransactionItem (from Process.xaml)Thanks
You can pass in_transactionItem to each Invoke Workflow File activity by creating an input argument in the invoked workflow.
For example:
in_TransactionItem with the same type as in_transactionItem.in_transactionItem to in_TransactionItem.You can use the same in_transactionItem variable as the input for all three Invoke Workflow activities, so there is no need to create separate variables.
You need to create an In Argument in each of the three invoked workflows, with the same data type as in_TransactionItem.
Then, in Process.xaml, pass in_TransactionItem to the corresponding argument of each Invoked Workflow.
This way, the same in_TransactionItem can be passed from Process.xaml to all three workflows.
Thanks!