With my recent development I was facing a challenge when executing a bot where some of the invoked workflows were not passed with arguments and those invoke workflow are included at last part of the bot workflow
Usually I use to click on the validate project / file button in design tab to check whether is there any validation le, before i test them
I thought it will cover and capture even if the arguments with invoke workflow file is not passed with values
But it didn’t and when I executed in debug mode bot stopped at one Invoke workflow file activity and shows error with the activity where that argument is used inside the workflow
And I was wondering why it was not captured by validate project / file option
Can this be included with that option as it will save a lot of time while testing the bot
Thank you @Palaniyappan, it looks like there is space for improvement.
Just to make sure I got it right, you would like a rule that warns you about arguments not being present inside of the Invoke Workflow activity, like so:
Or about argument not being assigned any values like so:
usually the above scenario occurs only when we are not passing any values to the argument as u mentioned below
And u r right, I mean the same (first one)
And yeah I couldn’t find any rules on that and I m facing this issue with studio version 2020.10.6
I know this topic is quite old, but I think it is still present. I totally agree with your argumentation, that there should be validations on both of these topics. but I would also add an additional one, I am currently facing.