cancel
Showing results for 
Search instead for 
Did you mean: 

How to add two duration in a date rule

former_member201769
Participant
0 Kudos

Hello Experts

                    I need to add two duration's in a date rule . previously i have only added a single duration to a date type.The code i am using is

<?xml version="1.0"?>

<TimeRule>

<TimeRuleSource>

  <ruleline>

   <AssignTimeExp>

     <VarTimeExp name="RESULT" position='F'/>

     <MoveTimeExp direction="+">

       <VarTimeExp name="SRV_CUST_BEG" position='F'/>

       <VarDuraExp name="ZDURATION1"/>

     </MoveTimeExp>

       </AssignTimeExp>

  </ruleline>

</TimeRuleSource>

</TimeRule>

I need to add ZDURATION1+ZDURATION2 to SRV_CUST_BEG . I am new to XML Please help

I will reward points as soon as i get the reply.

Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member188346
Active Participant
0 Kudos
former_member201769
Participant
0 Kudos

Hi bhushan

                  Thanks for the link ... it will take some time to figure out as i am new to XML.I will let you know here after doing it.

former_member201769
Participant
0 Kudos

Hi Bhushan

Hope you are doing fine.I have tried a lot but couldn't deal with the problem.please help me out

Thanks in advance

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rashmi,

did you find how to do it ?

Regards

Former Member
0 Kudos

Hello Rashmi /Bhushan ,

I have an exact same requirement .

Please if you can share the xml for adding 2 durations + Date .

Regards