Runtime Events (RTE) and Data Validation Manager (DVM) are the two highly used features whenever there is a requirement for imposing business rules in the process. Every another project has their own business rules to implement and Siebel developers use RTE and DVM as their first choice (mostly). Problem comes in when you are done with the development and now its time to move the RTE and DVM (Rule Sets) to different Env (QA, UAT etc). So if you have plenty of RTE implmented, it would be cumbersome job to create those RTE again in different env at various stages of the project life cycle.
To ease the job, Siebel has provided the way for taking the export it into a XML file and again import it back into another env. Runtime Events -> Menu -> XML Import/XML Export.
But, the irony is, it doesn't work as you expect. The basic assumption would be, you query your RTE, take the XML export and import the XML file into other env. System should get the new RTE created for you. But the reality is, this way you will end up exporting "ALL" RTE from the source env to destination env (which you never wants).
So, how to get the Runtime migrated?
- Navigate
to ‘Administration Deployment Manager -> Deployment Projects’. Click ‘New’
and create a project for exporting the RTE. Remember to check ‘Export to File’
flag to ‘Y’.
- In the below applet create a new record and pick ‘Data Type Name’ as ‘Personalization – Events’. Save the record.
- Expand the ‘Data Type Name’ (by clicking on the + icon)
- Drill down on the ‘Personalization – Events’ and you are navigated to ‘Administration Runtime Events -> Events’
- Query for the event you want to export and by using "Query Assistant", save this as PDQ.
- Again go back to your deployment project at
‘Administration Deployment Manager -> Deployment Projects’ and in the pick
applet for the field ‘Deployment Filter’ against ‘Personalization – Events’ select
the name of the PDQ you saved in the above step.
- Now Drill down on the ‘Personalization – Action’ and
you are navigated to ‘Administration Runtime Events -> Action Sets'
- Query for the Action Set associated with your event
you want to export and by using "Query Assistant", save this as PDQ.
- Again go back to your deployment project at
‘Administration Deployment Manager -> Deployment Projects’ and in the pick
applet for the field ‘Deployment Filter’ against ‘Personalization – Actions’
select the name of the PDQ you saved in the above step.
- Check your configuration by clicking ‘Validate Filter’
button. If everything is fine click the ‘Enable’ button on the top applet.
Status of your deployment project changes to ‘Enabled’ from ‘Draft’.
- Now go to ‘Administration Deployment Manager ->
Deployment Sessions’. Create a new record and select the project you created in
step 1. Save the record
- Press the ‘Deploy’ button on the top applet and give
the path on the server (if connected to thin client) or local machine (if connected to thick client) where you want the export file to be generated.
- Status changes to ‘Export Completed’ and the field
‘Log’ gives you the name of the xml file generated as a result of your export.
- Copy the xml files generated to you local machine (if connected to thin client)
- Go to the ‘Administration Data Manager ->
Deployment Sessions’ on the server where you want to import your RTE. Click
‘Menu’ and select ‘Deploy From Local File’ and give the path where you have
saved the xml files created and press ‘Import'.
- Your RTE will be created in the target system.
Special thanks to Manuj Garg for sharing this information.