API Documentation
  • 🦸User
    • 🐔requestDeveloperVerification
    • ☑️Accept Developer verification
    • 🚫Reject developer verification
    • 🆕NEW Authentication Trigger
  • 📧Send emails
  • 📂Projects
    • 📩Invite a new Team member
  • 📔Tasks
    • 💣Cancel Task
    • 🔎Submit task
    • 👨‍💻Assign Task
  • Step 1 taskflow
    • ✅Accept task
    • ❌Reject task
    • ⏳Deadline reached
  • Step 2 taskflow
    • ✅Accept developer (creator)
    • ❌Reject developer (creator)
  • Step 3 taskflow
    • 🚦Submit for review
    • ⏳Review Deadline reached
    • ✅Accept work result
    • ❌Reject work result
  • Step 4 Taskflow
    • 💸Generate Invoice
    • 💸Mark invoice as paid
Powered by GitBook
On this page
  • Input parameters
  • How trigger
  • Logic
  1. Step 3 taskflow

Review Deadline reached

After the task has been submittedForReview = true for 96 (4 days) hours without being accepted by the creator of the task it should be accepted automaticly

Input parameters

  • TaskID

How trigger

function should trigger automatic when the review deadline is reached.

Logic

  1. After the task has been submittedForReview = true for 96h (4 days) hours without being accepted by the creator of the task, it should be accepted automatically. (Probably not a HTTP callable)

  2. Add a field to the task document: "submittedForReviewDeadlineReached = true"

  3. Now just call the "accept work result" function

  4. Send an Email to ONLY Creator:

  • Send First Email:

    • to_email_adress = email_of_creator_person

    • template_name = "tasks-review-deadline-reached->creator"

    • data = {taskData: taskData, taskId: taskId}

PreviousSubmit for reviewNextAccept work result

Last updated 2 years ago

⏳