how to create optional argument while using Invoke code activity
as for example even if i do not supply value for those particular arguments then also activity should work
Is it possible ?
how to create optional argument while using Invoke code activity
as for example even if i do not supply value for those particular arguments then also activity should work
Is it possible ?
You can Just Keep them as it is without Providing any Value.
But make sure that you handle the exceptions properly inside the invoked workflow.
E.g. - I have an Input Arguement : Name as string.
Inside the invoked workflow before using the Name arguement, I would check if the String value is Not Null or Empty or Blank.
This way , If I Get the Name Value - it works,
If not - It does Nothing .
Else,
You can try by providing Default Values in the arguements Pane.
–
Mukesh