Good Day,
I am tryin to add text on the update rule based on the hierarchy_select . What I am trying to add is static text before the xpath_node on line 34 . Any suggestions on how I could accomplish it.
Thank You.
<perform_batch>
<sequential_dependent>
<hierarchy_select result_name="creditstatus">
<primary_table>place</primary_table>
<attrs>
<attr>request.place_id</attr>
<attr>place.credit_status</attr>
</attrs>
<from>
<table>request</table>
<table>place</table>
</from>
<where>
<data_constraint>
<constraint>
<left_operand>request.request_id</left_operand>
<operator>eq</operator>
<right_operand>@request_id</right_operand>
</constraint>
</data_constraint>
<join_constraint>
<constraint>
<left_operand>request.place_id</left_operand>
<operator>equi</operator>
<right_operand>place.place_id</right_operand>
</constraint>
</join_constraint>
</where>
</hierarchy_select>
<update_request_event>
<request_event>
<request_id>@request_id</request_id>
<event_type>HOLD</event_type>
<description xpath_node ="//place_hierarchy_select_resultt@result_name = 'creditstatus']/place/credit_status"/>
<insert is_initialized="False" />
</request_event >
</update_request_event>
</sequential_dependent>
</perform_batch>