Triggering an Enricher when another attribute changes
M
Michael BARTLEY
started a topic
about 2 years ago
Hi there,
How would I trigger an enricher to set the value of a boolean field when a specific attribute on the entity is changed?
I know I can trigger an enricher "on data change" in the stepper, but that seems to occur when any field changes. I'd basically like to call an enricher only when one specific attribute is modified by a user. Is this possible?
Best Answer
T
Toshish Chauhan
said
about 2 years ago
You can try this and activate enricher on On Data Change in stepper.
This condition will ensure if city is MK then enricher will be true else it will be false.
M
Michael BARTLEY
said
about 2 years ago
Thank you for getting back to me! What I'm trying to do is a bit different....using your example, I'd like to have it say "when city value changes, set to zero, else leave alone (Whether it was 0 or 1 to begin with)". does that make sense? is that feasible? thank you!
T
Toshish Chauhan
said
about 2 years ago
Answer
You can try this and activate enricher on On Data Change in stepper.
M
Michael BARTLEY
said
about 2 years ago
triggering "on data change" in the stepper does so whenever any field changes, though, correct? thank you
T
Toshish Chauhan
said
over 1 year ago
Hello Michale,
On Data Change means when the user changes the value of an attribute that is an input for the enricher.
(Data changes are detected when the user exits a field, makes a selection within a field (e.g., in drop-down menus), or after a certain period following user input while still in the field.)
Michael BARTLEY
Hi there,
How would I trigger an enricher to set the value of a boolean field when a specific attribute on the entity is changed?
I know I can trigger an enricher "on data change" in the stepper, but that seems to occur when any field changes. I'd basically like to call an enricher only when one specific attribute is modified by a user. Is this possible?
You can try this and activate enricher on On Data Change in stepper.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstToshish Chauhan
Hello Michael,
You can use case statement in enricher like :-
This condition will ensure if city is MK then enricher will be true else it will be false.
Michael BARTLEY
Thank you for getting back to me! What I'm trying to do is a bit different....using your example, I'd like to have it say "when city value changes, set to zero, else leave alone (Whether it was 0 or 1 to begin with)". does that make sense? is that feasible? thank you!
Toshish Chauhan
You can try this and activate enricher on On Data Change in stepper.
Michael BARTLEY
triggering "on data change" in the stepper does so whenever any field changes, though, correct? thank you
Toshish Chauhan
Hello Michale,
On Data Change means when the user changes the value of an attribute that is an input for the enricher.
(Data changes are detected when the user exits a field, makes a selection within a field (e.g., in drop-down menus), or after a certain period following user input while still in the field.)
You can check Configure_form_step_enrichers for more information.
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics