Appointment Reschedule - Flowable

How do I reschedule or cancel appointments in flowable on the basis of external trigger in flowable?