Workflow Composer

A single instance of Workflow Composer can be used to work with Anthology Student, CampusNexus CRM, and Forms Builder.

To enable this behavior in CampusNexus CRM:

  1. In the Web.config file of CampusNexus CRM Web Client, change the database details of the ‘dbconnection’ key of Workflow Composer to the value that’s set in Anthology Student:

    <add name="dbConnection" providerName="System.Data.SqlClient" connectionString="data Source=<Name of the Anthology Student database>;initial catalog=<Name of the CampusNexus CRM database>;Integrated Security=SSPI;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=True;Application Name=Workflow Composer;"/>

  2. Make the same change in the Web.config file of the following iServices:

    • Account Iservice
    • Cof Iservice
    • Contact Iservice
    • HEFoundation Iservice
    • Report Iservice
    • Portal Iservice
    • Utils Iservice
    • Interaction Iservice
  3. Ensure that Application Pool Identity Users of CampusNexus CRM Web Client and iServices are available in Anthology Student’s database. They must have login permissions in Anthology Student and read permissions to its database. For more information, see Application Pool Identity and Integrated Security.

  4. To consume events triggered from Web Client and iServices in Workflow Composer, set the value of the Workflow Integrated parameter to True in the Web.config file (Web Client and iServices). By default, its value is False.

Workflow Composer Updates

Workflow Composer 3.x or later:

Prerequisites

  • Due to significant architectural changes needed to support cloud deployments, Workflow Composer 4.x is only compatible with Anthology Student 22.0, Forms Builder 4.0, and CampusNexus CRM 13.0 and higher.

  • With the releases of Anthology Student 22.0 and Forms Builder 4.0, V1 workflow activities will no longer be supported and should be replaced with V2 activities. A message will be displayed if V1 activities are detected. Workflows created against V1 contracts will still work and will be supported. Details about required actions are provided in Workflow help.

  • Workflow Composer 4.x requires Microsoft .NET Framework 4.8. For more details, see

     
  • If Workflow Composer is configured to connect directly to the database, Insert and Update permissions for the following database tables are required:

    • WorkflowDefinition
    • WorkflowDefinitionVersion

    The permissions are required for the logged in user when using integrated security and for the login credentials (user name and password) specified if installing via Installation Manager and integrated security is not used.

  • If Workflow Composer is configured to use the Workflow Web API, users will need to be associated with either the Reader or Contributor role for the Workflow Web API enterprise application in the Anthology Cloud 2.0 Azure Active Directory.

Install Workflow Composer

Install Using Installation Manager

Anthology Cloud 1.2 and on-premises customers install Workflow Composer from Installation Manager.

  1. Click the Package Manager tile in the Start screen of Installation Manager.

  2. Download the package for Workflow Composer.

  3. When the download is completed, return to the Start screen of Installation Manager.

  4. Click the Workflow tile in the Start screen. File Manager displays the SetupFiles folder containing the Workflow Setup.exe file.

    After retrieving the installer, you can run the Workflow Setup.exe directly or copy and distribute it to other users within your organization.

  5. Double-click the Workflow Setup.exe file. The Workflow Setup screen is displayed.

  6. Click Install. The Setup Progress screen is displayed. You are notified if a previous installation of Workflow Composer is detected.

  7. Click Next to continue. The API key and database settings screen is displayed.

  8. In the API key database settings screen, specify the following:

    • Api Key (Package Manager Customer Key) - This is the same key that is used in the Package Manager screen of Installation Manager.

    • Database Server

    • Database

    Select Use Integrated Security or specify the Username and Password for the database.

    Click Test to verify database access. If the test was successful, click Next to continue.

  9. (Optional) In the SMTP settings screen, specify the following if you want the application to be able to send emails to the intended recipients:

    • SMTP Server

    • SMTP Port (default: 25)

    • If applicable, select Use credentials to authenticate and specify the Username and Password.

    • If applicable, select Enable SSL.

  10. Click Next. The installation process starts. Click Close when Workflow Composer has been successfully installed.

  11. Click the Workflow icon on your desktop to open Workflow Composer. Note that the status bar at the bottom left indicates the Workflow Composer version and database connection.

Install Using ClickOnce

Anthology Cloud 2.0 customers install Workflow Composer using a ClickOnce application. ClickOnce allows self-updating Windows-based applications to be installed and run with minimal user interaction. Users install Workflow Composer with one click on the Install button or launch it from a website.

For details about the ClickOnce URL and login credentials, refer to https://filetransfer.campusmgmt.comsoftwareupdates Workflow Composer > WF_ComposerInstallationSteps.pdf.

alert

Depending on the settings and antivirus/malware software installed on your machine and your corporate policies, you may see a warning when installing Workflow Composer and its Activities and Contracts packages.

Run Workflow Composer. Upon startup, Workflow Composer 4.0.1 and later displays the Configuration window.

Continue with Configure Workflow Composer and then Install Activities and Contracts.

Configure Workflow Composer

Once Workflow Composer is installed, you need to specify whether it accesses the databases via direct connections or via a Workflow Web API.

  • In an Anthology Cloud 2.0 environment, configure the Workflow Web API Connection. The Workflow Web API replaces the Citrix connections used previously in cloud environments.

  • In on-premises or Azure (non-Anthology Cloud 2.0) environments, configure Direct Database Connections.

The configuration needs to be done only once when Workflow Composer is installed the first time. The settings are retained during upgrades.

Workflow Composer 4.0.1 introduces the option to change the configuration upon launching the application. You can choose to Connect to the previously configured environment or change the configuration to access a different environment.

If you change the configuration, the following message appears. When you click OK, Workflow Composer will restart and connect to the newly configured host. It will take a few seconds to start.

Configuration has changed

If you click the Cancel (x) button at the top of the Configuration window, you can open the Configuration window again and change the configuration details again.

The System tab in the ribbon of Workflow Composer provides a Configuration option that enables you to change the initial configuration.

Direct Database Connections

If you are using Workflow Composer with on-premises databases connections:

  1. Select Direct connection with the database.

    Database connection configuration

  2. Specify the server names and database names for your database connections.

    • The Workflow Database is the database that supplies values to your workflow activities. It can be the Anthology Student or CampusNexus CRM database.

    • The Durable Instancing Database typically uses the same server and database as the Workflow Database.

    • (Optional) The Tracking Database is named "WorkflowTracking" by default. It can be on the same server as the Workflow Database and the Durable Instancing Database.
  3. In the API Key field, specify the key you use to access Anthology Activities and Contracts packages.

  4. (Optional) In the CRM Configuration section, specify the following:

    • CRM Main Database Server and Database

    • CRM Web Client URL

    By default, the CRM Configuration section will be blank.

    Integrated security will be used for the connection information.

    When the Server and Database are populated under the CRM Main Database, a connection string will be created in the Workflow configuration file named CRMdbconnection.

      <connectionStrings>
        <clear />
        <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
          providerName="System.Data.SqlClient" />
        <add name="dbConnection" connectionString="Data Source=<server>;Initial Catalog=<database>;Integrated Security=True;Application Name=&quot;Workflow Composer&quot;"
          providerName="System.Data.SqlClient" />
        <add name="WorkflowDurableInstancingConnection" connectionString="Data Source=<server>;Initial Catalog=<database>;Integrated Security=True;Pooling=True;MultipleActiveResultSets=True;Application Name=&quot;Workflow Composer&quot;"
          providerName="System.Data.SqlClient" />
        <add name="WorkflowTrackingConnection" connectionString="Data Source=<server>;Initial Catalog=&quot;Workflow Tracking&quot;;Integrated Security=True;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=True;Application Name=&quot;Workflow Composer&quot;"
          providerName="System.Data.SqlClient" />
        <add name="CrmDbConnection" connectionString="Data Source=<server>;Initial Catalog=<database>;Integrated Security=True;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=True;Application Name=&quot;Workflow Composer&quot;"
          providerName="System.Data.SqlClient" />
      </connectionStrings>

    When the CRM Web Client URL is populated, an additional appSettings key will be added in the Workflow configuration file.

      <appSettings file="">
        <clear />
        <add key="DataMapperAssembly" value="Cmc.CampusLink.BusinessEntities, Culture=neutral, PublicKeyToken=<token>" />
        <add key="ConfigureCampusNexusWcfProxy" value="true" />
        <add key="ConfigureCVueNexusWcfProxy" value="true" />
        <add key="apiKey" value="<key>" />
        <add key="StudentWebClientUrl" value="https://<server>.<domain>:<port>" />
        <add key="CrmWebClientUrl" value="https://<server>.<domain>:<port>/" />
      </appSettings>
  5. Click Save.

  6. Click Yes to confirm that you want to proceed. Workflow Composer will restart.

Workflow Web API Connection

If you are using Workflow Composer in an Anthology Cloud 2.0 environment :

  1. Select Use the Workflow Web API.

    Web API connection configuration

  2. Specify your Anthology Student Web Client URL, i.e., https://<server>.<domain>:<port>. This URL provides access to the server where the Workflow Web API is deployed.

    The remaining fields are disabled.

    Workflow Composer 3.1 supports dual tenancy in Azure AD. This enables Anthology Inc. support staff to log in to a customer environment to diagnose an issue. CMC staff append account/login/cmc to the Student Web Client URL value in order to use a different authentication context for the same environment.

    Tenant Student Web Client URL Sign in Logo
    Azure AD Tenant (Customer) https://<server>.<domain>:<port>.campusnexus.cloud/ Microsoft logo
    Support Tenant (Anthology Staff) https://<server>.<domain>:<port>.
    campusnexus.cloud/account/login/cmc  
  3. Click Save.

  4. Click Yes to confirm that you want to proceed. Workflow Composer will restart.

When you use the Workflow Web API, you must log in to your Anthology Cloud 2.0 account in the Azure Active Directory (AAD).

In case of a service interruption or incorrect configuration, a message similar to the following will be displayed.

Unable to authenticate

After you click OK, you can launch Workflow Composer again and the Configuration window will be displayed again. You can change the Web API Configuration and log into your account.

Your user profile in the Anthology Cloud 2.0 AAD is associated with a role.

  • The Contributor role allows you to add/publish, delete, and edit workflows.

  • The Reader role allows you to view workflows.

    As a Reader, you can modify a workflow and save it to the file system. But you cannot publish it. If you try to publish or delete a workflow or persisted instance, Workflow Composer returns the message: "You are not authorized to perform this action."

If you are not associated with either role, you will need to contact a System Administrator as you will not have access to the application.

Install Activities and Contracts

After installing Workflow Composer, you need install Activities and Contracts that match the versions of Anthology Student, CampusNexus CRM, and/or Forms Builder in your environment.

Note: If you installed Workflow Composer using ClickOnce with auto update, previously installed packages are removed and need to be reinstalled.

  1. In the ribbon of Workflow Composer, click Package Manager. Click Yes to close Workflow Composer.

  2. In the Package Manager screen, check the address of the Package Manager Host. If necessary, edit the address and click Update.

    Package Manager

  3. In the Available Packages section, locate the Activities and Contracts to be used with Workflow Composer in your environment. The packages are product and version specific.

    You can install only one version of a specific package type. For example, if you installed "Activities and Contracts (CRM) 12.0.0", you cannot have "Activities and Contracts (CRM) 13.0.0" on the same instance of Workflow Composer at the same time. "Activities and Contracts (CRM) 13.0.0" will overwrite "Activities and Contracts (CRM) 12.0.0".

    Anthology Student requires two packages. For example, if your Anthology Student environment is at version 20.0.3, install Activities and Contracts (V1) 20.0.3 and Activities and Contracts (V2) 20.0.3.

    Note: Anthology Student 21.0 (and later) Activities and Contracts are required when using Workflow Composer with Web API connection. Earlier versions of Activities and Contracts are incompatible.

    With Workflow Composer 4.x and Anthology Student 22.x and later, you need to install both the V2 Activities and Contracts and the V1 Contract packages.

    If you have workflows with V1 Activities, warning messages will be displayed when you select or run a workflow. See Run Time Messages About V1 Activities in Workflow Help.

    If workflows that contain V1 Activities have not been updated prior to upgrading to Anthology Student 22.x and installing 22.x Activities and Contracts packages, perform the following steps:

    1. Uninstall the V1 and V2 packages for 22.x.

    2. Import an earlier version of V1 and V2 packages (e.g., 21.x).

    3. Update the workflows to replace the V1 activities.

    4. Re-import the 22.x packages.

    The packages for Anthology Student 22.x and later will only contain the V1 Contracts and not the Activities.  Closed

    Packages for 22.0

  4. Click Download package to install each package. The installed packages will be listed in the Currently Installed Packages section.

    To remove a package, click Remove package in the Currently Installed Packages section.

  5. Click Done to close Package Manager.