Skip to main content
8-Gravel
February 19, 2026
Question

Throw exception in an info engine task

  • February 19, 2026
  • 1 reply
  • 23 views

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.

1 reply

12-Amethyst
March 6, 2026

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