'notdone_activity' Command
The command affects only the started activity specified by key fields of 'command/appointment' element that exists in the system and sets the activity status to 'not done'. The command will:
a) set existing started activity, specified by key fields of 'command/appointment' to 'not done'
b) update activity properties if 'command/appointment/properties' element is present
The command will fail if:
activity does not exist in OFSC
activity status is other than started
'command/time' is less than activity start time
Note: A segmentable activity can only be set notdone by the 'notdone_activity'
command if there are no started segments and there is at least one
segment in the 'complete' or 'notdone' status, otherwise the command
will fail.