Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:39:16+00:00 2026-05-23T01:39:16+00:00

Basically, I have a point in my workflow where after a document has been

  • 0

Basically, I have a point in my workflow where after a document has been sent and a number of things will/might happen.

  • The customer has 10 days to send a response
  • When the customer’s response has been received anytime within the 10 days, the wait is over and the response should move to the next step of the workflow
  • On day 8 or day 9, if there is no response, an email should be sent to the customer
  • On the 11th day, an email should be sent to the customer stating the response is late
  • Afterwards, an email should be sent every 3 or 5 days to the customer until the response is received

I’m not sure if I should or could use a While Activity in the workflow or use a Code Activity with a While loop in the Code-behind. I’ll be tracking the day the document is sent, its due date, and when the response is received. I’m just not sure on the best practices/approach to doing this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:39:16+00:00Added an answer on May 23, 2026 at 1:39 am

    So I’ll go through this with small explanations

    • Transmittal Event: This is an event captured from the hosting app (ie. ASP.NET Web form) and sent to the workflow. With this event the workflow starts.
    • TrackDates Code Activity: The workflow captures certain about the document here. Such as: Date and Time when it was sent, Date and Time when it will be due, and FileName
    • ListenActivity1: This gives to two branches (it can be more) that are listening to events. Similar to an if/else statement, however only an event can determine which path will be taken. In this workflow, there are two paths. Left path is when a document returns and has been loaded by the Webform. The right path is if nothing has returned in 10 days.
    • WaitForTenDays Delay Event: The timer in this event will be set to wait 10 days after the document has been sent.
    • SendEmailToCustomer Code Activity: After the WaitForTenDays event is triggered, this activity will send an email to the customer informing them that they are late.
    • WhileReturnIsLate loop: This checks the database to see if the document has been returned. If not is will continue on to the next Activity.
    • ListenActivity2: please see ListenActivity1 for general description
    • WaitForFiveDays Delay Event: Please WaitForTenDays for general description
    • SendEmailEveryFiveDays Code Activity: Check the dates to see if another 5 days have passed, if so send an email to the customer reminding that they are late.
    • LinkReturnToTransmitted Code Activity: Links the returned document to the transmitted document through the database
    • SendEmailToPMNDoc Code Activity: Sends email to project manager and documentation department that the document has been returned by the customer.
    • HandleExternalEventActivity1 Event: Receives an event from Webform that the document has been returned by the customer.
    • HandleExternalEventActivity2 Event: Please see HandleExternalEventActivity1 Event

    If anyone has any comments, criticisms, or improvements that could made to this. Please share. Thanks.

    Workflow for having documents wait

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I basically have a page which shows a processing screen which has been flushed
I basically have the following flow: XML -> JSON -> Spring MVC -> jsp
I am looking in to ways to enable a site to basically have something
I would like to do the following. Basically have a stored procedure call another
Basically I have some code to check a specific directory to see if an
Basically I have a bunch of unmanaged VC++ static libraries. And the VC++ GUI
Basically I have the following class: class StateMachine { ... StateMethod stateA(); StateMethod stateB();
Basically I have a website. I have a properly setup sitemap so I assume
Basically I have a small template that looks like: <xsl:template name=templt> <xsl:param name=filter />
Basically you have two ways for doing this: for (int x = 0; x

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.