Hi can we set true in the property field ContinueOnError for Assign Activity?
As I am using an array operation where I implement the string operation, so it’s implemented on all the profile. so some profile is status confidential no text is written there, can I ignore this text. I am facing an issue when it comes to this profile which is confidential.
In the yellow colour highlighted part No text is there so string operation is fail here. Is there any way to ignore this and search for the next profile.
Here it is showing me the error that array is out of bond, it’s working fine but the issue for this profile bcz it’s mentioned confidential.
Can I set for this True for ContinueOn Error but this activity doesn’t have this property.
@Palaniyappan @indra Plz help bro
For assign activity, there is no property called ContinueOn Error.
Yes bro, so can I do like this, here I am having issue,
If you see this profile is Confidentials so here is not more info is given but string operation is failed here, It showing me array out of bond. Fol rest profile it’s working fine.
To check whether string is null or empty - String.IsNullOrEmpty(“StringName”)
For this profile string will be Null bcz no info given.
So I didn’t use this what you mentioned, so can you tell me where I have to use this.
I have done like this bro
Get FullText activity will give you output as string right. After this use IF condition to check whether string is empty or not using - String.IsNullOrEmpty(“output of Get FullText")
If it is true then skip it else continue with operations like string manipulations.
Usually these are the properties of Assign activity buddy, this one is clear…great
Now you might have used click activity to click on the view contact…and suppose if the view contact is not available we need to ignore now…
–kindly use a element exists for the element VIEW CONTACT, and get the output of the element exists activity as a boolean variable named out_boolean
–then use a if condition and mention in the condition with the above variable like this out_boolean = True
–if this condition gets passed it will go to then part where you can mention all the activities you have now to get the contact number
–or it will goto the ELSE part where you can mention a log message activity like “The contact details are confidential”
Kindly try this and let know buddy for any queries or clarification
Thanks @lakshman and @Palaniyappan it’s worked!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.