Skip to content

Commit 6449d7b

Browse files
committed
Updated readme file with project details
Added project description, install steps, usage, etc.
1 parent 352bb22 commit 6449d7b

File tree

2 files changed

+15
-110
lines changed

2 files changed

+15
-110
lines changed

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Automatic Workflow Branching
1+
# Automatic Workflow Launch
22

3-
The Automatic Workflow Branching project demonstrates automatic workflow branching based on a property of the controlled item.
3+
The Automatic Workflow Launch project demonstrates the launching of a workflow from a server event or action.
44

55
#### How it works
6-
A method is attached to an automatic activity as an OnActivate server event. When the workflow
7-
is started, the automatic activity is activated and the method finds the controlled item. It
8-
then reads the Plant property, finds the corresponding path and sets that path to be the default.
9-
The activity then closes and the default path is followed.
6+
A method is attached to the ItemType as an OnAfterAdd/OnAfterUpdate server event. When the item is saved with the Launch Workflow property set to 1, the method finds the Workflow Map by name, then instantiates and starts it. The same method is attached to the ItemType as an action, allowing the workflow to be launched using a menu choice.
107

118
## Project Details
129

@@ -34,25 +31,29 @@ The activity then closes and the default path is followed.
3431
* _Note: You must login as root for the package import to succeed!_
3532
4. Enter the package name in the TargetRelease field.
3633
* Optional: Enter a description in the Description field.
37-
5. Enter the path to your local `..\AutoWorkflowBranching\Import\imports.mf` file in the Manifest File field.
38-
6. Select **aras.labs.WorkflowAutomationExamples** and **aras.labs.AutoWorkflowBranching** in the Available for Import field.
34+
5. Enter the path to your local `..\AutoWorkflowLaunch\Import\imports.mf` file in the Manifest File field.
35+
6. Select **aras.labs.WorkflowAutomationExamples** and **aras.labs.AutoWorkflowLaunch** in the Available for Import field.
3936
7. Select Type = **Merge** and Mode = **Thorough Mode**.
4037
8. Click **Import** in the top left corner.
4138
9. Close the Aras Package Import tool.
4239

43-
You are now ready to login to Aras and try out Automatic Workflow Branching.
40+
You are now ready to login to Aras and try out the Automatic Workflow Launch action/event.
4441

4542
## Usage
4643

4744
1. Log in to Aras as admin.
4845
2. Navigate to **Workflow Examples** in the table of contents (TOC).
49-
3. Create a new Workflow Assignment Example item.
50-
4. Set the Plant property to any of the listed values.
51-
5. Click **Save/Unlock/Close**.
46+
3. Create a new Workflow Launch Example item.
47+
4. Click **Save/Unlock/Close**.
48+
5. Edit the item and check the **Launch Workflow** checkbox.
5249
6. Navigate to **My Innovator > My Inbasket** in the TOC.
53-
7. Search for the newly created assignment. The assignment activity should correspond to the chosen Plant on the Workflow Branching Example form.
50+
7. Search for the newly created assignment.
51+
8. Repeat steps 2-4.
52+
9. Choose the new item and run the **Workflow Launch Example** action (under the Actions menu)
53+
10. Navigate to **My Innovator > My Inbasket** in the TOC.
54+
11. Search for the newly created assignment.
5455

55-
To review the dynamically created assignment and the paths of the workflow process item, open the Work Item from the assignment. On the item form, select **Views > Workflow** from the main menu to view the workflow process.
56+
As an alternative to checking My Inbasket, you can also determine whether an item has a workflow process from the item's worm. On the item form, select **Views > Workflow** from the main menu to view the workflow process. The resulting dialog will show the workflow process, if it exists, or an empty grid if there is no workflow process for the item.
5657

5758
## Contributing
5859

readme.txt

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)