cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to get Service Fail information in ThingWorx 9.0?

RP_9407685
4-Participant

How to get Service Fail information in ThingWorx 9.0?

Hi,

We can link Service successful function to any other service but How to link the service Failure function to another service?

Please support ASAP.

1 ACCEPTED SOLUTION

Accepted Solutions
Ashritha
13-Aquamarine
(To:RP_9407685)

Hi @RP_9407685 ,

Use the try catch block in the service. Handle the negative scenario in catch block. You can use one infotable column to indicate Failure. Use  validator function  to check the failure or success. Trigger this validator on service invoke complete event. Validator can be used to trigger success or failure event.Link 

 

View solution in original post

3 REPLIES 3
RP_9407685
4-Participant
(To:RP_9407685)

Can anyone reply to my comment please?

Ashritha
13-Aquamarine
(To:RP_9407685)

Hi @RP_9407685 ,

Use the try catch block in the service. Handle the negative scenario in catch block. You can use one infotable column to indicate Failure. Use  validator function  to check the failure or success. Trigger this validator on service invoke complete event. Validator can be used to trigger success or failure event.Link 

 

slangley
23-Emerald II
(To:RP_9407685)

Hi @RP_9407685.

 

If you feel your question has been answered, please mark the previous response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Top Tags