The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
Hi all,
I am creating a new Info Engine(IE) task. That IE task requires a string parameter as input and it calls another IE task inside. So in my new IE task, I perform a validation and when it succeeds I call another IE task. But if the validation fails, I need to throw an exception or communicate to the user about the error message. How can we do it? I am testing it using the PTC IE domain in WRS.
Hello,
I do not see any replies here yet, so I will throw in a possible solution for you as it is what I am doing for some of my IE tasks.
When failures occur and you catch them within the IE task, you can create a group of your own design with an element that describes the failure and return that group, then when processing the returned information check for group containing the key that signals error and key's value describing the failure.
Hope that helps ya, cheers
