cancel
Showing results for 
Search instead for 
Did you mean: 

How to show custom error message from Sybase Messaging system in workflow

Former Member
0 Kudos

How to show custom error message from Sybase Messaging system in workflow

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please clarify which error scenario you wish to show custom error message for.

Thanks,

Andrew.

Former Member
0 Kudos

Hi LEE,

Actually in the error screen im getting error message like

"com.sybase.Dataservices --- Error : Po does nt exists and some other text"

from this i need to extract the actual message and show that to user

david_brandow
Contributor
0 Kudos

The error message comes back as a list key in the workflow message, so you should be able to drill down through the workflow message data (c.f. getCurrentMessageValueCollection() and WorkflowMessage.js) and find the specific piece of information you are looking for. You can then use that value to update your UI accordingly.

Former Member
0 Kudos

Thanks David it helped me.