In the previous article, "Episode 595: Alternate Method of Setting Expiration on Questionnaire", I have introduced "A method of setting a timer with Data setting formula".

In the article, I described a measure to enhance the visibility of the Workflow diagram by reducing the number of Steps, such as;

...In addition, "Service Task (Data assignment)" is capable of assigning a value to multiple Data Items at single Step. In case if multiple "Service Task (Data assignment)" are arranged consecutively, please consider consolidating them into one...

In the article, I described a measure to enhance the visibility of the Workflow diagram by reducing the number of Steps, such as;

...In addition, "Service Task (Data assignment)" is capable of assigning a value to multiple Data Items at single Step. In case if multiple "Service Task (Data assignment)" are arranged consecutively, please consider consolidating them into one...

As I might be asked by someone saying "So, how can I concretely do?", so let's try to rewrite the Workflow diagram of the past together actually.

[Billing-Payment Confirmation flow 1]


[Billing-Payment Confirmation flow 1 (Integrated Steps)]


In the previous article, "Set Expiration to Post-Event Questionnaire", I have set "expiration to after 7 days" utilizing a Service Task. By setting a deadline for the questionnaire, it is possible to prevent the business process from staying stuck, even if it is not yet answered.

[Event_Acceptance-Questionnaire (Expiration)]

For the setting of "after 7 days, "data setting formula is used.
By writing "# now.addDays (7)", you can set "after 7 days" to "Expirtion (Date)" from the time (#now) when the token arrived in the "Expiration set" Step.

<"Expiration set" setting screen>


Other than that, in addition to the data setting formula expressing the date and time, there are;
  1. 2 hours 30 minutes later: #now.addHours(2).addMinutes(30),
  2. the end of the month: #now.getLastTimeInMonth(),
  3. 5th of the following month: #today.getFirstTimeInMonth().addDays(4), and so on.
("Data setting formula" can also be used in other data items. For details, refer to "M227: Set to combine business data and arithmetic operations automatically")


In the previous article, we added a mechanism for conducting a post-event questionnaire, to a Workflow for accepting participation in events such as "small group seminars". Impressions and feedback about an event from participants obtained by answering a questionnaire, they are hints to change the next event to a better one.

However, with the Workflow in the previous article, you had to "wait until the questionnaire was answered". If all the participants answered the questionnaire immediately, your work would proceed smoothly. But unfortunately, it wouldn't go that way easier. Sometimes you wouldn't answer a questionnaire. (Neither do I...)

Thus, I am going to improve the Workflow by setting the expiration. If there is no answer even it comes to the expiration, the Issue is to be automatically terminated.

[Event_Acceptance-Questionnaire (Expiration)]