Skip to main content

The XML below has an expression that works.

What if I want to change this expression to have a conditional: the result must be blank if person.mobile_phone is blank.

Thanks 

<update_person>
  <person>
    <person_id>@person_id</person_id>
    <alt_email_address>@expressionrperson.mobile_phone + "@textmarketer.biz"]</alt_email_address>
    <insert_update is_initialized="False" />
  </person>
</update_person>

 

hi Rcvs,

assuming FSM..

To accomplish that, the condition would be placed in the Input Parameters, not the XML itself.

If we looked at the example below, i would add a Input parameter for: 

  • PERSON.MOBILE_PHONE -- EQUAL --- <empty> 

this would drive the XML to only execute when that part of the condition is met. 

 

 


Reply