The IWS part supports creation of automatic activities that run on the background without user interaction and can be scheduled to specific time and date. The automatic activities must be configured with command hos_autoexec_jcl.php?root=twaz in ProcMan administration web dialog. The Automatic activies support 3 functionalities - IWS update to host, Copy all applications and Reject.
IWS update to host use module m_tws_auto_ad_update. The module use interface i_tws_ad_appl_tws_upd. In this interface you can specify check IWS rule with option tws_rules_ctrl. If the check rule prints error message the IWS update of current IWS application ends with error without sending the application to host. In process environment the IWS update must have configuration for tws_source_system. The automatic IWS update cannot use the actually logged in user as normal IWS update module. Instead of current user are used configuration settings user and password in file etc\ hwm_autoexec_config.php.
For copying all IWS applications from one IWS system to other one is used module m_tws_auto_ad_copy_all. It works the same way as copyall module called with button 'Copy Source->Target'. The module use interface i_tws_ad_copy_all_appl. In this interface you can specify IWS rule with option tws_rules. This rule can change the IWS applications during copy. In process environment the module must have configuration for both tws_source_system and tws_target_system. The environment setting tws_target_system_selected_index is optional.
For Reject is used module m_tws_reject_auto. Task with this module must be placed to process config to the automation actitivy and before the tasks for IWS update or Copy All. The configuration is done using interfaces i_reject and i_tws_reject. The task configuration in process config is identical with reject configuration for module m_tws_ad_appl_load.