Execute a SaaS provisioning intent
Carry out the account change of a SAAS_PROVISIONING task now, on an application Primo provisions: answers outcome: STARTED once the change is queued, and the task completes itself when the application confirms it (read it with getTicket). This is the only way to complete such a task: updateTaskStatus refuses it with TaskLockedByTypeError naming this operation. On an application Primo cannot provision, the task waits for an admin, who makes the change by hand and completes it with updateTaskStatus. Safe to retry: a task completed earlier answers outcome: ALREADY_EXECUTED and runs nothing again. Refused with INTENT_NOT_FOUND, TICKET_CLOSED (the task was completed or cancelled), TICKET_SCHEDULED (it runs on its date), EXECUTION_IN_PROGRESS, COMPANY_SAAS_APPLICATION_NOT_CAPABLE (Primo cannot provision this application), LEAVER_HAS_NO_MANAGER or TRANSFER_TARGET_HAS_NO_ACCOUNT (nobody to transfer the data of a removed account to).
Authorizations
Response
STARTED: Primo is carrying the account change out, and completes the task once the application confirms it. EXECUTED: the change was already made, the task is now completed. ALREADY_EXECUTED: the task was completed earlier, nothing ran again.
STARTED, EXECUTED, ALREADY_EXECUTED