RIS-RM-1013 Missing Phone Number and Email
- 1. Go to Apps > Application Store > Missing Phone Number and Email > click Install and follow the on-screen instructions until the installation is complete.
- 2. Configure the macro.
- 3. Configure the rule in the Rules Engine screen.


Functionality
Our Powerful Functionality


Parameter Input
1. OrderIds: List of OrderIds representing the open orders for which the phone numbers and email addresses need to be checked and potentially updated.
2. DefaultPhoneNumber: Default phone number to be used if the shipping address phone number is initially empty.
3. DefaultEmailAddress: Default email address to be used if the shipping address email is initially empty.


Rules Engine Integration
The macro operates within a Rules Engine environment, allowing it to be triggered based on predefined conditions or scheduled intervals.


Data Check and Update
1. For each order in the provided list (OrderIds), the macro examines the shipping address details.
2. If the phone number or email address is initially empty, the macro fills in the missing information with the default phone number or email address specified in the configuration.


Logging and Error Handling
The macro incorporates logging mechanisms to record its actions, ensuring transparency and facilitating troubleshooting in case of errors.
Our App
Configure the macro
Go to Apps > Macro Configuration and click + Add new configuration.

Select the MissingPhonenumberandEmail macro and click Create Configuration. .

In the Macro Configuration screen, specify the below details and click Save:

Make sure to enable the macro to continue with the Rules Engine configuration.

Usage
Usage of App
Parameters
1. OrderIds: List of OrderIds representing open orders where phone numbers and email addresses need to be checked and potentially updated.
2. DefaultPhoneNumber: Default phone number to be used if the shipping address phone number is empty.
3. DefaultEmailAddress: Default email address to be used if the shipping address email is empty.
Execution
1. The macro is configured to run within a Rules Engine environment, either triggered by specific events or scheduled to execute at defined intervals.
2. Upon execution, it takes the provided list of OrderIds and default values for phone numbers and email addresses as input.
3. The macro iterates through each order, checks the shipping address details, and updates them if phone number or email address fields are empty.
Outcome
1. Orders that originally had empty shipping address phone numbers or email addresses now have them filled with default values.
2. The macro helps ensure completeness and accuracy of shipping address information, which is crucial for communication and order processing.
3. Through logging, administrators can track the macro's actions and monitor changes made to orders.