0

How do I write Appointment fields?

I'd like to be able to set Appointment fields e.g.

Let Appointment.startDate :=x;

Let Appointment.startTime :=y;

etc..

1 reply

null
    • Paul
    • 6 yrs ago
    • Reported - view

    Given fields
        ‘Start Date’
        ‘Start Time’
        ‘End Date’
        ‘End Time’
        Appointment

    then
        let startAppointment := number('Start Date') + number('Start Time');
        let endAppointment := number('End Date') + number('End Time');
        let durationAppointment := endAppointment - startAppointment;
        Appointment := startAppointment + "/" + durationAppointment

    Given fields
        ‘Start Date/Time’
        ‘End Date/Time’
        Appointment

    then (NOT TESTED)
        let startAppointment := number('Start Date/Time');
        let endAppointment := number('End Date/Time');
        let durationAppointment := endAppointment - startAppointment;
        Appointment := startAppointment + "/" + durationAppointment
     

Content aside

  • 6 yrs agoLast active
  • 1Replies
  • 1865Views