Great
Kindly try this and let know @balkishan
You meant to say ElementExist variable that is boolean type right??
Bro I have one doubt SystemError should be boolean or Exception type.
As the value will come True/False from the workflow. Please confirm
âI hope we wonât be in need of try catch here as we have a element exists only which wonât stop the workflow
âUsually now we will getting the out argument from the invoke workflow with a argument named Out_SystemError of type Boolean
âLetâs create a global variable in the main xaml named SystemError of type Boolean mouth the default value as False defined in the variable panel and mention that as a value in the edit arguments to the argument Out_SystemError that is the value of the argument Out_SystemError argument will be passed to the variable SystemError that we have in the main xaml
âNow If we want for sure the try catch block then in ENTRY part of state put the invoke workflow file activity inside a try catch block and in catch block we can mention the value for the variable SystemError as True like any exception occurs in the invokes workflow we put that also as error in SystemError as True, or it will be with the default value of False as defined in the variable panel
Now in the transition we can make use of the variable SystemError which has the value of the Out argument named Out_SystemError a Boolean argument
Cheers @balkishan
So this False value I have mentioned for both I mean in the Out_SystemError Arguments and in SystemError that is in the Main State Machine worklfow. ?
Bro I am asking this.
Bcz we canât assign any value to the out_SystemError s itâs direction is Out. So the value will come out from this workflow.
Ok
But where you are assigning this Out_SystemError
It seems like you are getting that as a output from elements existsâŚ
Is it so
If so the argument Out_SystemError will get the value from element exists and we donât neednât to mention any value
@Palaniyappan Bro If you check here I have given If element exist means True I want to continue the Process if False then Stooped the process.
But in the Main these condition are not matching if true then close if flase then proceed???
Okay
We can change the name simply from Out_SystemError as Out_ElementExists
And even in the global variable from SystemError to ElementExists with default value as False
Cheers @balkishan
Yes I assigned in the workflow which I will invoke in the Main state machine workflow.
Yes I changed it bro and I invoked it and assigned to the Global ElementExist variable.
So here I want to know do I need to assign the ElementExist value True in the Catch Block ??
something is wrong bro. The Element window is Exisiting and it send me the Message stop the process. see , I think I did a mistake in assign activity. As I assigned the ElementExist value is False in the Catch Block.
Here I want If I get a True value from the out_ElementExist then I want to Continue the Procees If get False value then Email and Stop the Process.
I am able to done bro but some wrong result I got it, please see the previous comment.
Fine the argument is not assigned to the variable ElementExists
Kindly check with the arguments once
Cheers @balkishan