I want to create a Business Rule of type Input XML. Can anybody guide me with the steps?
Hi
First, you need to create a custom process. Go to the custom processes screen and click new.
Choose an XML type. Provide an ID and then all the details required for your process.
You can read more in the documentation by clicking the ‘?’ help button.
After that go to the business rules screen and search for the new process created. Configure according to your requirements.
Cheers!
Hi, here is an example of an input xml that you can use as an example of the structure of the xml.
Place address input xml example note the different types of lines and label
<perform_batch>
<update_address>
<address>
<insert_update/>
<address_id>@place_id</address_id>
<name>@name</name>
<address>@user_inputuid=address, table_name=address, column_name=address, required=Y]</address>
<second_address>@user_inputuid=second_address, table_name=address, column_name=second_address, required=N]</second_address>
<city>@user_inputuid=city, table_name=address, column_name=city, required=Y, mask_type=UPPER]</city>
<state_prov>@user_inputuid=state_prov, table_name=address, column_name=state_prov, required=Y]</state_prov>
<zippost>@user_inputuid=zippost, table_name=address, column_name=zippost, required=Y]</zippost>
<action_status>@user_inputuid=action_status, table_name=address, column_name=action_status, required=N, control_type=Combobox, height=120, label_value=This is a label value]</action_status>
<attention>@user_inputuid=attention, table_name=address, column_name=attention, control_type=textarea, height=120, label_message_id=LabelMessageIdTest]</attention>
<county_id>@user_inputuid=county_id, table_name=address, column_name=county_id, control_type=TextBox, required=N,navigation_def=<navigation_item>
<function_name>county_id~~generictablelookup</function_name>
<type>popup</type>
<trigger>button</trigger>
<template>ButtonControlTemplate</template>
<search_criteria>
<criteria_def>
<function_item_name>county_id.country</function_item_name>
<locked>N</locked>
</criteria_def>
<criteria_def>
<function_item_name>county_id.county_id</function_item_name>
<locked>N</locked>
</criteria_def>
</search_criteria>
<return_values>
<return_def>
<item_name>address.county</item_name>
<function_item_name>county_id.country</function_item_name>
</return_def>
<return_def>
<item_name>address.county_id</item_name>
<function_item_name>county_id.county_id</function_item_name>
</return_def>
</return_values>
</navigation_item>]</county_id>
</address>
</update_address>
<update_place_address>
<place_address>
<insert_update/>
<address_type>DEFAULT</address_type>
<address_id>@place_id</address_id>
<place_id>@place_id</place_id>
</place_address>
</update_place_address>
</perform_batch>
Cheers,
Morris
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.