Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Is Start Point?
Specifies the task if it is the start point of workflow or not.

Is Case Handler?
When you click this option, the task-related form is used in the case.

Instructions
Enter the descriptions for the task. The explanations will appear in the notification/reminder e-mails, under the form title and in the tasks falling on the job lists.

Role
The role to which the task will be sent is selected.

Allow Forwarding?
Click to permit users else to assign.

Is Hidden?
Click to hide the relevant task from users with reading permission. This feature can be used in starting tasks.

Delayed Execution
Check this field to process the task in delayed context. By default, Emakin executes task steps in a synchronized context until the task is assigned to a user or the workflow is completed. If you check this field, the workflow engine temporarily stops execution at the task and commits the current state to the database. The remaining execution is performed in another transaction. In some cases, you may need to use this field to ensure saving the current state and perform the remaining operations in another error-checking context.

Prework
The script which is executed before the task is assigned to the role. Please refer to the Task Prework Script section for more details.

Postwork
The script which is executed after the task is completed. Please refer to the Task Postwork Script section for more details.

Condition to Initiate
XPath expression to evaluate task allowed to initiate. XPath expression is evaluated from the active case profile.

Delayed Execution
Check this field to process the task in a delayed context. By default, Emakin executes task steps in a synchronized context until the task is assigned to a user or the workflow is completed. If you check this field, the workflow engine temporarily stops execution at the task and commits the current state to the database. The remaining execution is performed in another transaction. In some cases, you may need to use this field to ensure saving the current state and perform the remaining operations in another error-checking context.

Deadline

Configures the deadline time and action for assigned tasks to be completed automatically.

Duration
Duration of deadline after the task is assigned.  Duration can be selected from the list or can be manually entered in "d.hh:mm:ss" format. Duration can also be set in the prework script in a more dynamic behaviour.

Action
Action to be selected if the deadline occurs. This option is not mandatory if the auto-completion of the task is not requested.

Send Notify
Sends notification messages about the deadline. This option is only visible when a duration is defined.

Evaluation

Configures the task to perform scheduled operations depending on the task type:

Start Point

If the task is configured as a start point, emakin periodically initiates new instances depending on the schedule and executes the evaluation script. When any action is taken, it continues to the next step of a workflow.

Normal

If the task is configured as an intermediate task, emakin periodically checks any waiting tasks and executes the evaluation script on it. When any action is taken, it continues to the next step of a workflow.

You can configure the following for evaluation:

Enabled
Check this field to enable scheduled operation.

Schedule
Schedule of evaluation. 

Script
Script to execute when scheduled event occurs. 

Common Schedules

Hourly Schedule

Performs after every 10 minutes.

Code Block
languagexml
titleHourly
<Schedule Name="">
    <Rule Type="Hourly">
        <Duration>00:10:00</Duration>
    </Rule>
</Schedule>

Weekly Schedule

Performs every day except Sunday and Saturday.

Code Block
languagexml
titleWeekly
<Schedule Name="">
    <Rule Type="Weekly">
        <DayOfWeek>Sunday</DayOfWeek>
        <DayOfWeek>Saturday</DayOfWeek>
    </Rule>
</Schedule>

Performs only once on Mondays.

Code Block
languagexml
<Schedule Name="Weekly Leave Request Report">
    <Rule Type="Weekly">
        <DayOfWeek>Sunday</DayOfWeek>
        <DayOfWeek>Tuesday</DayOfWeek>
        <DayOfWeek>Wednesday</DayOfWeek>
        <DayOfWeek>Thursday</DayOfWeek>
        <DayOfWeek>Friday</DayOfWeek>
        <DayOfWeek>Saturday</DayOfWeek>
    </Rule>
    <Rule Type="Daily">
        <Start>09:05:00</Start>
        <End>09:05:59</End>
        <Invert>True</Invert>
    </Rule>
</Schedule>

Daily Schedule

Performs every day, exactly at 16:01:00.

Code Block
languagexml
titleDaily
<Schedule Name="">
    <Rule Type="Daily">
        <Start>16:01:00</Start>
        <End>16:01:59</End>
        <Invert>True</Invert>
    </Rule>
</Schedule>

Yearly Schedule

Performs every 1st day in all months (Example: 20XX-XX-01)

Code Block
languagexml
<Schedule Name="">
    <Rule Type="Yearly">
        <Day>1</Day>
   </Rule>
</Schedule>

Performs at the beginning of the 4th month of every year (Example: 20XX-04-01)

Code Block
languagexml
<Schedule Name="">
    <Rule Type="Yearly">
        <Month>4</Month>
   </Rule>
</Schedule>

Performs on the 10th day of a 4th month of every year (Example: 20XX-04-10)

Code Block
languagexml
<Schedule Name="">
    <Rule Type="Yearly">
        <Day>10</Day>
        <Month>4</Month>
   </Rule>
</Schedule>

Annual Schedule

Performs on a yearly basis. It basically excludes the date given and runs the scheduled task every day except the given one.

...

languagexml

...

Variables

List of the overridden Pool variables in a task scope. Please refer to the pool page for more information.

...