Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.38 KB | None | 0 0
  1.     <macro:lives>
  2.         <args>
  3.             <id type="string"/>
  4.             <period type="int"/>
  5.         </args>
  6.         <body>
  7.             <scheduled_action_trigger id="${id}_trigger">
  8.                 <action>
  9.                     <scheduled_trigger_action>
  10.                         <available>
  11.                              <condition_compare_int
  12.                                    compare="lt"
  13.                                    value2="3">
  14.                                 <value1>
  15.                                     <object_param_int_accessor
  16.                                            object="${id}"
  17.                                            param_int="count"/>
  18.                                 </value1>
  19.                             </condition_compare_int>
  20.                         </available>
  21.                         <operation>
  22.                             <user_operation_list>
  23.                                 <operations>
  24.                                     <element>
  25.                                         <user_operation_set_int
  26.                                                object="${id}"
  27.                                                param_int="count">
  28.                                             <value>
  29.                                                 <operator_summ_int value1="1">
  30.                                                     <value2>
  31.                                                         <object_param_int_accessor
  32.                                                            object="${id}"
  33.                                                            param_int="count"/>
  34.                                                     </value2>
  35.                                                 </operator_summ_int>
  36.                                             </value>
  37.                                         </user_operation_set_int>
  38.                                     </element>
  39.                                     <element>
  40.                                         <user_operation_set_int
  41.                                                object="${id}_trigger"
  42.                                                param_int="schedule_time">
  43.                                             <value>
  44.                                                 <accumulator_int>
  45.                                                     <values>
  46.                                                         <element>
  47.                                                             <object_param_int_accessor
  48.                                                                object="${id}_trigger"
  49.                                                                param_int="schedule_time"/>
  50.                                                         </element>
  51.                                                         <element>${period}</element>
  52.                                                     </values>
  53.                                                 </accumulator_int>
  54.                                             </value>
  55.                                         </user_operation_set_int>
  56.                                     </element>
  57.                                 </operations>
  58.                             </user_operation_list>
  59.                         </operation>
  60.                     </scheduled_trigger_action>
  61.                 </action>
  62.             </scheduled_action_trigger>
  63.         </body>
  64.     </macro:lives>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement