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

How to Raise Message in ABSL and shown in C4C UI

Former Member
0 Likes
1,478

lately, Our team met a requirement for raise an error message in sales quote approval.

we plan to raise the message in absl once the quote met some conditions when the approvor run the approve action.

firstly, we add a workflow rule and add some condition to call an customized action,

and in the absl action file we wrote like following:

if(XXX) { raise Error_Messag.Create("E"); }

in this absl file, we called an webservice and according to the result, to judge if raise this message

but the result is that this message could not be shown in the C4C UI,

and we also use debug mode, and had confirmed this statement is called by the application

so dose anybody know what is wrong here, and are there other method to achieve my purpose.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee
0 Likes

Hi,

If you raise a message in a ABSL script which is getting called by a workflow rule then you will not be able to see the messages in UI. That is C4C's standard behaviour. C4C workflow custom action should only be used for making updates to the fields via workflow or other business logic except for validation.

To achieve the requirement mentioned by you SHOULD write your logic in Root-BeforeSave validation event since this run for every update being made to approval status. and hence when you raise a message here then it will be shown in UI.

Thanks

Saurabh

Answers (0)