Hello, how can we help you?

Recent Searches: How to replace obsolete formulas in a form - SoftExpert Workflow general parameters - Process flowchart events - Closing an audit

Editing event data

pr_en_fluxo_azul_1.png
pr_en_fluxo_azul_2.png
pr_en_fluxo_azul_3.png
pr_en_fluxo_meio_4.png

 

Prerequisites

  • Access to the File > Process (PM022) menu.
  • Previously created process.
  • Previously designed flowchart.

 

Introduction

This article will teach you the difference between certain events and how to edit their data in the flowchart of a process.

The events that will be covered are highlighted in the image below:

For further information regarding events, refer to the Process flowchart events article.

 

Not all events can have their data edited. In this article, we will cover only those that can be edited. Take a look at the table with the editable events and then see how to edit them.

 

Events

Icon Event Type Description

Timer

Start

This event indicates that the process will be started in a
predetermined period, that is, the process will be started by a time condition (relative date or period).

Timer Intermediate This event indicates that the process must wait for a time condition in order to continue the flow.

Message
(send)
Intermediate This event indicates that a message will be thrown. It allows for sending standardized messages, through templates, containing information inserted in the data of the process during its execution.

Message
(receive)
Intermediate

This event causes the process flow to wait for a message to be received from another process. To this end, the code defined for the receiving event must be configured in a message sending event in another process.

Note: in this event, it is also possible to configure the correlation between instances, that is, the message receiving event will only be executed if the process containing the message sending event has a certain value.

Link
(send)
Intermediate Link events connect different points of the flow within the same process. They are useful for complex flowcharts, in which too many connectors may make it difficult to view and organize the process.

Link
(receive)
Intermediate "Link (receive)" events only allow for viewing the flows they are receiving, with the configuration being set in the "Link (send)" event.

End End This event ensures that the process will be completely closed, cancelling any parallel flows.

 

Editing an event

In order for event data to be edited, the flowchart must be saved once any element is added.

 

Timer - Start

1. To edit, select the event (start timer) in the flowchart and click on the Data button. 

2. On the screen that will be opened, enter an ID # and a name for the event. 

3. Then, make other changes in the tabs mentioned below: 

Tab

Fields for editing

General

This tab is used to set the configuration related to event scheduling. To do that, fill in the following fields:

 

Start: enter the start date and time for the execution of the timer.

 

Next execution: the start date and time for the next execution of the timer will be defined according to the recurrence information that will be inserted in the following fields.

 

Recurrence: fill in the fields below.

 

  • Frequency: select how often the executions will occur:
    • No recurrence: there will be no recurrence for the execution.
    • Hour(s)/Minute(s): the execution will occur at an interval of hour(s) or minute(s). Enter the desired interval in the Every field. For example: every 20 minutes, every 30 minutes, every 3 hours, etc. Note: it will not be possible to select a time shorter than 15 minutes when scheduling the timer.
    • Daily: the execution will occur at an interval of days. Enter the desired interval in the Every field. For example: every 2 days, every 5 days, etc.
    • Weekly: the execution will occur at an interval of weeks. Enter the desired interval in the Every field. For example: every 1 week, every 2 weeks, etc.
    • Monthly: the execution will occur at an interval of months. Enter the desired interval in the Every field. For example: every 2 months, every 4 months, etc.
  • End of recurrence: use this field to select when the execution recurrence will end for the timer:
    • No end date: the execution recurrence will not end.
    • Ends after: the execution ends after a certain number of occurrences. In the Occurrences field, enter the limit number for execution occurrences.
    • Ends on: the execution ends on a certain date. In the Date field, select the day, month, and year when the execution will end.
    • Week days: select the day(s) of the week for the recurrence. Note: field valid for weekly recurrence only.
    • Months: select the month(s) for the recurrence. Note: field valid for monthly recurrence only.

 

Delete after finishing scheduling: check this field so that, once the number of configured recurrences is reached, the timer execution scheduling is deleted. Note: with this option, only the execution scheduling will be deleted from the list with the schedulings configured in the system.

Notified user

This tab is used to configure the users who must be notified whenever the event is triggered. To do that, click on the button and fill out the following fields on the screen that will open:

 

Notify: select how the group of users who will be notified via the scheduling will be composed:

  • Department: users from a specific department in the organization will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • Position: users holding a specific position in the organization will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • Department/Position: users holding a position in a given department will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • User: a specific user will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • Team: the members of a specific team will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • Functional role: users who have a certain functional role will receive the notifications. Search fields will be enabled so that the desired record can be easily retrieved.
  • Permission: define whether the selected users will have permission to receive the scheduling notifications.
  • Filter: fill in the search filters according to the option selected in the Notify field. These filters will help retrieve the desired record.

Start

This tab displays the processes that will be started by the event.

History

This tab displays the log of the completed executions. Remember that the executions are performed according to the frequency configured on the General tab. If an error occurs during execution, click on the button to view the generated log.

4. After the configuration, save the scheduling data of the timer event.

 
 

Timer - Intermediate

1. To edit, select the event (intermediate timer) in the flowchart and click on the Data button. 

2. On the screen that will be opened, edit the data.

3. Then, make other changes in the tabs mentioned below: 

Tab

Fields for editing

General

Enter the general data of the event:

 

Duration: determine for how long the process must wait in order to continue the execution of the remaining items in the flowchart. This duration may be given in hours/minutes (hhh:mm), day(s), week(s), or month(s). When the formula is configured, the duration in this field will only be used when no value is returned. Note: it will not be possible to select a time shorter than 15 minutes when scheduling the timer.

 

Formula: click on this button to set the duration of the timer using a formula. On the screen that will be opened, enter the desired formula. See below an example of a formula in which the DEFINE_ACTIVITY_DURATION() function is used based on the priority set for the process through the PRIORITY() function.

Example 1:

IF(PRIORITY('Name') = 'Critical')

RETURN DEFINE_ACTIVITY_DURATION('008:00';'hhh:mm')

ELSE

SE(PRIORITY('Name') = 'High')

RETURN DEFINE_ACTIVITY_DURATION('3;'Day(s)')

ELSE

RETURN DEFINE_ACTIVITY_DURATION('5;'Day(s)')

END

END

In this example, the process priority was configured with a simple listing evaluation method, which contains the "Normal", "High", and "Critical" criteria. Thus, the following priorities have been defined:

  • "Critical": the timer will wait 8 hours; 
  • "High": the timer will wait 3 days;
  • "Normal": the timer will wait 5 days.

 

Use process calendar: if this field is checked, the calendar set as default through the Administration component will be used to calculate the time set on the timer.

Revision/Status The Revision tab will only be displayed if the process is configured with an automation whose operation is Revision; otherwise, the Status tab will be displayed. In that case, select what will be the process status as soon as the event is executed. Only those statuses that are configured in the same way as process automation will be displayed.

4. After the configuration, save the data of the timer event.

 
 

Message (send) - Intermediate

1. To edit, select the event (message - send) in the flowchart and click on the Data button. 

2. On the screen that will be opened, edit the data.

3. Then, make other changes in the tabs mentioned below:

Tab

Fields for editing

E-mail

This tab is used to set the configurations referring to the e-mails that will be sent. To do that, fill in the following fields:

 

Sender: insert the e-mail address of the message sender. To do so, select the email server that will be used to send the message event. Note: the available senders will be all e-mail servers registered in SoftExpert Configuration (Configuration > E-mail server).

 

Subject: enter the title of the e-mail that will be sent when this event is executed.

 

Content: fill in the fields referring to the content of the e-mail: 

  • Content will be read from HTML file: check this field so that the e-mail content comes from a properly configured template. Otherwise, the e-mail content will be the system's default one.
  • Process history: check this field so that the process instance history is added to the e-mail content. 
  • If the Only comments and received e-mails option is checked, the content of the e-mail will contain the comments and the corresponding history of received e-mails.
  • Text to be added at the top of e-mail: enter in this field the text you wish to insert in the e-mail to be sent. This field has a Rich Text editor that lets you format text and paragraphs, and insert tables, links, and images. In this field, it is also possible to use the HTML tags described in the Configuring an HTML/HTM external file article (Sending e-mails with form fields topic).

Attribute: select the attributes that will be displayed in the e-mail. Only attributes associated with the process will be available for selection.

 

Notified user: select the users who will receive the message event e-mail. If the Consider message event e-mail list option is checked, the notified users will be the same as those for the Message event selected in the respective field. Otherwise, the e-mail addressees can be configured manually. It is possible to choose from the following message sending profiles:

  • Users linked to a given department, position, team, or functional role; for the process starter, the process starter's leader, the manager of the process, or the manager of the instance;
  • Activity executor or Activity executor leader — in which case the following information must be provided:
    • The process activity.
    • The attribute (User name, User ID, or E-mail address).
    • A specific e-mail address.
    • A form field (User name, User ID, or E-mail address), specifying the table and the field.

Attachment: set the configurations so that the files attached to the process instance are sent along with the event e-mail. To do that, check the following fields:

  • Instance attachments: check this option so that the files attached to the instance are sent as e-mail attachments. To only send the files of a defined activity, select, in the Added to the activity field, the activity that contains the attachments that will be sent in the e-mail. If this option is not checked, no instance attachments will be sent in the e-mail.
  • Instance documents: check this option so that the documents from SoftExpert Document attached to the instance are sent as e-mail attachments. To only send the documents of a defined activity, select, in the Added to the activity field, the activity that contains the documents that will be sent in the e-mail. If this option is not checked, no instance documents will be sent in the e-mail.
  • Files added to the forms: check this option so that the files added to the forms of the process are sent as e-mail attachments. If this option is not checked, no form files will be sent in the e-mail.
Message

Use this tab to allow the message event to execute a message receiving event from another process. On this tab, it is also possible to configure the correlation between instances, that is, the message receiving event of another process will only be executed if both processes have a certain value. To do that, fill in the following fields:

  • Process: select the process that contains the message receiving event, which will be executed after the message is sent.
  • Message: enter the code set for the message receiving event. This code is defined as soon as the message receiving event is added to the flowchart of the process selected in the previous field.

 

Correlation between instances

Correlation between instances allows using advanced expressions with several combinations; for example, it is possible to compare several parameters while only one of them must be "true". If any configuration is performed in this section, the message receiving event of the other process will only be executed if it has the same value as that in the event in question. Use the available buttons to add or edit the correlation configuration. On the screen that will be displayed, fill out the following fields:

Name: enter the name of the correlation (it must be the same as that of the message receiving event).

Value: define the value type of the correlation:

  • Constant: if this option is selected, the correlation between the instances will be given through a fixed (constant) value. To this end, insert the constant value in the respective field.
  • Value based on form: for this option to be available, the Form component must be part of the solutions acquired by your organization. Check this option for the correlation between the instances to be given through a value inserted in the field of a form. To do so, the process must have a form associated with it. The process containing the message receiving event must have a form containing the same table and field. Thus, fill out the table that contains the form associated in the process and select the field that will receive the value that will be used to establish the correlation.
  • Use the %WF_IDINSTANCE% and %WF_PARENT_IDINSTANCE% constants to send the ID # of the current instance and of the upper instance. With these constants, the communication between instances occurs in a clearer, more precise way, such as: A sub-process can send a message directly to its upper instance, without the need to use parameters with form fields.
Survey

On this tab, it is possible to configure the survey that will be e-mailed to the users who will be notified. In order to do that, use the following fields:

For this feature to work correctly, the SoftExpert Survey component must have an active license key in the system.

 

Associate survey: check this option and, in the Survey template field that will be enabled, select a template created in SoftExpert Survey, on which the surveys that will be sent will be based.

  • Manual closure: check the Manual closure option so that the survey is closed manually.
    • Use a specific survey execution per revision: if this option is checked, a new survey execution related to the activity or to the message event will be created whenever there is a revision for the process. Otherwise, the same in-progress survey execution related to the event will be used, regardless of any process revisions.

4. After configuring the message (send) event, save it.

 
 

Message (receive) - Intermediate

1. To edit, select the event (message - receive) in the flowchart and click on the Data button. 

2. On the screen that will be opened, edit the data.

3. Then, perform the following changes: 

Fields for editing

Name: this field displays the name of the message receiving event. The name can only be changed through the General section of the item panel.

 

Message (Code): this field displays the code of the message receiving event. This code can only be changed through the General section of the item panel.

 

Correlation between instances

Use this section to configure the correlation between instances. If any configuration is performed in this section, the message receiving event of the other process will only be executed if it has the same value as that in the message sending event in question. Use the available buttons to add or edit the correlation configuration. On the screen that will be displayed, fill out the following fields:

  • Name: enter the name of the correlation (it must be the same as that of the message receiving event).
  • Value: define the value type of the correlation:
    • Constant: if this option is selected, the correlation between the instances will be given through a fixed (constant) value. To this end, insert the constant value in the respective field.
    • Value based on form: for this option to be available, the Form component must be part of the solutions acquired by your organization. Check this option for the correlation between the instances to be given through a value filled out in the field of a form. To do so, the process must have a form associated with it. The process containing the message receiving event must have a form containing the same table and field. Thus, fill out the table that contains the form associated in the process and select the field that will receive the value that will be used to establish the correlation.
    • Use the %WF_IDINSTANCE% and %WF_PARENT_IDINSTANCE% constants to send the ID # of the current instance and of the upper instance. With these constants, the communication between instances occurs in a clearer, more precise way, such as: A sub-process can send a message directly to its upper instance, without the need to use parameters with form fields.

4. After the configuration, save the message (receive) event.

 
 

1. To edit, select the event (link - send) in the flowchart and click on the Data button. 

2. On the screen that will be opened, edit the data.

Destination: enter in this field the Link (receive) event that will establish the connection to the link in question.

3. Then, make other changes in the tabs mentioned below:

Tab

Fields for editing

Input flow

This tab will display the predecessor flows of this event.

Output flow

This tab will only display the Link (receive) event, because this event accepts no other output flow.

Revision/Status

The Revision tab will only be displayed if the process is configured with an automation whose operation is Revision; otherwise, the Status tab will be displayed. In that case, select what will be the process status as soon as the event is executed. Only those statuses that are configured in the same way as process automation will be displayed.

4. After configuring the link (send) event, save it.

 
 

1. To edit, select the event (link - receive) in the flowchart and click on the Data button. 

2. On the screen that will be opened, edit the data.

3. Then, make other changes in the tabs mentioned below:

Tab

Fields for editing

Input flow

This tab will only display the Link (send) event, because this event accepts no other input flows. For each Link (receive), there must be at least one Link (send).

Output flow

This tab will display the successor flows of this event.

Revision/Status

The Revision tab will only be displayed if the process is configured with an automation whose operation is "Revision"; otherwise, the Status tab will be displayed. In that case, select what will be the process status as soon as the event is executed. Only those statuses that are configured in the same way as process automation will be displayed.

4. After configuring the link (receive) event, save it.

 
 

End - Final

1. To edit, select the event in the flowchart and click on the Data button. 

2. The data of the end event will be displayed.

3. Then, make other changes in the tabs mentioned below:

Tab

Fields for editing

Input flow

This tab will display all the predecessor items in relation to the end point.

Revision/Status

The Revision tab will only be displayed if the process is configured with an automation whose operation is Revision; otherwise, the Status tab will be displayed. In that case, select what will be the process status as soon as the event is executed. Only those statuses that are configured in the same way as process automation will be displayed.

 
 

 

Conclusion

Thus, you have learned how to edit data on all event types!


Was this article helpful?