← Voltar para Flows

Withdraw Application Flow

Name
Withdraw Application Flow
Description
Artista retira candidatura a um guest spot e studio é notificado.
Validated
Not Validated

Steps

  1. 1
    withdrawApplication(Booking Service)
    Input Mapping
    userId: "$trigger.userId"
    authToken: "$trigger.authToken"
    applicationId: "$trigger.applicationId"
    idempotencyKey: "withdraw:$trigger.applicationId:$trigger.eventId"
    Output Handlers
    Output KeyNext StepBranch To FlowMerge To Context
    successStep 2: sendNotificationYes
  2. 2
    sendNotification(Notification Service)
    Input Mapping
    data: "$step1.data"
    channel: "IN_APP"
    priority: "normal"
    template: "application_withdrawn"
    recipientId: "$trigger.studioOwnerUserId"
    correlationId: "$trigger.correlationId"
    idempotencyKey: "application_withdrawn_notify:$step1.data.applicationId:$trigger.eventId"
    Output Handlers
    Output KeyNext StepBranch To FlowMerge To Context
    successYes