What's new in Customer Journeys?

Connect and learn more! ×
Check EventName before calling addNamedEventListener — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Check EventName before calling addNamedEventListener

Received Response
edited Jun 13, 2022 4:13AM in General Technical Discussions 2 comments


Hi All,

We have a requirement to check the values in multiple string fields on a CO and convert them to decimal equivalents. We have written multiple workspace rules to capture field change events of all the concerned fields. At present, to optimize the add-in code, we named each event as 'CommonIdentifier@field_name'  and in the RuleActionInvoke method, we are checking if ActionName contains the  'CommonIdentifier' then we split the ActionName to get fieldName and then proceed further with conversion. Now, we need to implement the same functionality in BUI. We are using addNamedEventListener but how to check if the EventName string contains CommonIdentifier'?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!