Triggering an Enricher when another attribute changes
M
Michael BARTLEY
started a topic
almost 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
almost 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
almost 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
almost 2 years ago
Answer
You can try this and activate enricher on On Data Change in stepper.
M
Michael BARTLEY
said
almost 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.
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 346 topics