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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

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.

ACCEPTED SOLUTION

Accepted Solutions
Ashritha
14-Alexandrite
(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
14-Alexandrite
(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

Announcements


Top Tags