Skip to main content

What is a Workflow?

A workflow is a sequence of activities to automate processes in applications. 

Activities are workflow blocks that perform different tasks, such as obtaining approvals, sending email, running scripts, testing conditions, and setting field values on records.


Workflow are launched a number of different ways including:
  • Triggered by field values on a record
  • UI Action
  • Server-side scripts

When to Use Workflows

Use workflows to automate multi-step processes such as:
  • Approvals
  • SLAs
  • Task creation
  • Event generation
  • Email notifications
For example, if an email needs to be sent when a new record is inserted into the database, that is a discrete action which does not require workflow. If the email is sent when a request is approved or rejected, this is a multi-step process which can be automated with workflow.

Comments

Popular posts from this blog

Lotusscript to establish ODBC connection:

The script, when executed from a button, will create a new record in a specified ODBC data source, attempt to save the new record and display a message indicating whether the operation was completed successfully. If the operation is not completed sucessfully, it is likely that either your data source is read-only or your ODBC driver does not permit updates to the data source. Important: Complete each of the four steps below before running the script. 1. Create a new agent and add the following UseLSX command to the Options event: UseLSX "*LSXODBC" 2. Add the following script to the Initialize event of the agent. NOTE: Do not add the 'Sub' and 'End Sub' lines. Dim ui As New NotesUIWorkspace     Dim uidoc As NotesUIDocument     Dim doc As NotesDocument     Dim connection As ODBCConnection     Dim query As ODBCQuery     Dim result As ODBCResultSet         Set uidoc=ui.CurrentDocument ...

What is the difference between soft locking and document locking (sometimes called hard locking) in Lotus Notes®, and when are these locking features are enabled?

Document Locking: In Notes/Domino 6.x, a database property feature called "Allow document locking" was introduced. When this property is enabled, any user with Author access or above can lock a document across all replicas . This prevents two or more users from making changes to the same document and then replicating - which would create replication conflict documents. To enable this feature, you can select the database property "Allow document locking" in the basics tab. Soft Locking: Soft locking was also a new feature in Notes/Domino 6, but it was not documented as clearly as document locking. Soft locks are in-memory locks that are enabled when documents are in memory, and are not persistent. The editor takes out a soft lock on a document when it is opened in edit mode, and then unlocks it when the document is closed. During the period of time when it is soft locked, no one else can edit that document but it only affects the current repl...