Skip to content

The project demonstrates automatic workflow branching based on a property of the controlled item.

License

Notifications You must be signed in to change notification settings

ArasLabs/auto-workflow-branching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Workflow Branching

The Automatic Workflow Branching project demonstrates automatic workflow branching based on a property of the controlled item.

How it works

A method is attached to an automatic activity as an OnActivate server event. When the workflow is started, the automatic activity is activated and the method finds the controlled item. It then reads the Plant property, finds the corresponding path and sets that path to be the default.
The activity then closes and the default path is followed.

History

Release Notes
v1.1.1 Updated Usage for Aras Version 12
v1.1.0 Update Tags for TOC List
v1.0.1 Tested 11.0 SP12, SP15. Tested on Edge, Firefox 60 ESR, Chrome.
v1.0.0 First release. Tested on Internet Explorer 11, Firefox 38 ESR, Chrome. Though built and tested using Aras 11.0 SP7, this project should function in older releases of Aras 11.0 and Aras 10.0.

Supported Aras Versions

Project Aras
v1.1.1 10.0+, 11.0+, 12.0+
v1.1.0 10.0+, 11.0+
v1.0.1 10.0+, 11.0+
v1.0.0 10.0 SPx, 11.0 SP7; Old Community Board Migration

Installation

Important!

Always back up your code tree and database before applying an import package or code tree patch!

Pre-requisites

  1. Aras Innovator installed (version 12)
  2. Aras Package Import tool
  3. AutoWorkflowBranching import package

Install Steps

  1. Backup your database and store the BAK file in a safe place.
  2. Open up the Aras Package Import tool.
  3. Enter your login credentials and click Login
  • Note: You must login as root for the package import to succeed!
  1. Enter the package name in the TargetRelease field.
  • Optional: Enter a description in the Description field.
  1. Enter the path to your local ..\AutoWorkflowBranching\Import\imports.mf file in the Manifest File field.
  2. Select aras.labs.WorkflowAutomationExamples and aras.labs.AutoWorkflowBranching in the Available for Import field.
  3. Select Type = Merge and Mode = Thorough Mode.
  4. Click Import in the top left corner.
  5. Close the Aras Package Import tool.

You are now ready to login to Aras and try out Automatic Workflow Branching.

Usage

  1. Log in to Aras as admin.
  2. Navigate to Workflow Examples in the table of contents (TOC).
  3. Create a new Workflow Assignment Example item.
  4. Set the Plant property to any of the listed values.
  5. Click Done.
  6. Navigate to My Innovator > My Inbasket in the TOC.
  7. Search for the newly created branching. The branching activity should correspond to the chosen Plant on the Workflow Branching Example form.

To review the dynamically created branching and the paths of the workflow process item, open the Work Item from the branching. On the item form, select Navigate > Workflow from the main menu to view the workflow process.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

For more information on contributing to this project, another Aras Labs project, or any Aras Community project, shoot us an email at [email protected].

Credits

Original Aras community project written by Rob McAveney at Aras Corp.

Project rewritten for Aras 11.0 by Alexander Sklyarskiy. @asklyarskiy

Documented and published by Eli Donahue at Aras Labs. @elijdonahue

License

Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.