Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

MetaData - Processing Rules - Comms

2,231 bytes added, 17:28, 22 February 2018
Created page with "= Overview = For more information on {| class="wikitable" ! Area ! Link |- | MetaData please refer here || MetaData_-_Start_Here |- | Processing rules please refer here..."
= Overview =

For more information on

{| class="wikitable"
! Area
! Link
|-
| MetaData please refer here || [[MetaData_-_Start_Here]]
|-
| Processing rules please refer here || [[MetaData_Process_Rules]]
|-
| Parameter construction please refer here || [[MetaData_Program_and_Outcomes]]
|-
|}

= Reference =

This wixi article is meant to serve as a reference guide to a subset of MetaData Processing Rules.


= Rules =


== EmailComms ==


The EmailComms rule is used to send an email and pulls the addresses, subject and body from form records.


Required fields to execute rule:
# Rule Name
# From field
# To field
# CC value
# BCC Value
# Subject value
# Body of email - this is the ID of the template to use as the body
# Log the email send against the CCL of the record
# Add a custom outcome to be used when saving a CCL


Example:
<syntaxhighlight lang="xml">
Rule Name[[-SEP-]]From[[-SEP-]]To[[-SEP-]]CC[[-SEP-]]BCC[[-SEP-]]Subject[[-SEP-]]Body[[-SEP-]]Log the email against CCL[[-SEP-]]Add a custom outcome[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]
</syntaxhighlight>


Example (with replacement values):
<syntaxhighlight lang="xml">
EmailComms[[-SEP-]]strCDA_1213_field_1_1[[-SEP-]]strCDA_1213_field_2_1[[-SEP-]][[-SEP-]][[-SEP-]]strCDA_1213_field_4_1[[-SEP-]]27[[-SEP-]]True[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]
</syntaxhighlight>



== SMS Comms ==


The SMS Comms rule is used to send an SMS message using details from the form.


Required fields to execute rule:
# Rule Name
# From number
# To number
# Body of the SMS
# Log the email send against the CCL of the record
# Add a custom outcome to be used when saving a CCL


Example:
<syntaxhighlight lang="xml">
SMSComms[[-SEP-]]From[[-SEP-]]To[[-SEP-]]SMS Body[[-SEP-]]Log the email[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]
</syntaxhighlight>


Example (with replacement values):
<syntaxhighlight lang="xml">
SMSComms[[-SEP-]]strCDA_1213_field_0_7[[-SEP-]]strCDA_1213_field_0_8[[-SEP-]]Hello World[[-SEP-]]True[[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]][[-SEP-]]
</syntaxhighlight>