You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,9 @@
1
1
# Automatic Workflow Branching
2
2
3
-
The Automatic Workflow Branching project demonstrates automatic workflow branching based on a property of the controlled item.
3
+
The Automatic Workflow Branching project demonstrates automatic workflow email notifications.
4
4
5
5
#### 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
+
Two email items are attached as OnActivate notifications to All Assignments. The simple email uses the string "${Item/item_number}" to show the controlled item's number property in the body of the email. The other email uses a query string to get properties of both the activity and the controlled item.
10
7
11
8
## Project Details
12
9
@@ -24,7 +21,19 @@ The activity then closes and the default path is followed.
24
21
25
22
1. Aras Innovator installed (version 11.0 SPx preferred)
26
23
2. Aras Package Import tool
27
-
3. AutoWorkflowBranching import package
24
+
3. AutoWorkflowEmail import package
25
+
4. The Innovator Admin user's email is set to your email address.
26
+
5. Aras is configured to send emails, meaning one of the following scenarios:
27
+
* The mail server is configured in `InnovatorServerConfig.xml`:
28
+
```xml
29
+
<MailSMTPServer="[SMTP Server IP]"/>
30
+
```
31
+
* Email debugging is enabled in `InnovatorServerConfig.xml`:
> Note: If email debugging is enabled in InnovatorServerConfig.xml, all emails will be saved as files in the temp folder (Innovator\Server\temp by default). No emails will be sent to the user's actual email address.
28
37
29
38
### Install Steps
30
39
@@ -34,25 +43,24 @@ The activity then closes and the default path is followed.
34
43
*_Note: You must login as root for the package import to succeed!_
35
44
4. Enter the package name in the TargetRelease field.
36
45
* 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.
46
+
5. Enter the path to your local `..\AutoWorkflowEmail\Import\imports.mf` file in the Manifest File field.
47
+
6. Select **aras.labs.WorkflowAutomationExamples** and **aras.labs.AutoWorkflowEmail** in the Available for Import field.
39
48
7. Select Type = **Merge** and Mode = **Thorough Mode**.
40
49
8. Click **Import** in the top left corner.
41
50
9. Close the Aras Package Import tool.
42
51
43
-
You are now ready to login to Aras and try out Automatic Workflow Branching.
52
+
You are now ready to login to Aras and try out Automatic Workflow Email notifications.
44
53
45
54
## Usage
46
55
47
56
1. Log in to Aras as admin.
48
57
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**.
52
-
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.
58
+
3. Create a new Workflow Email Example item.
59
+
4. Click **Save/Unlock/Close**.
60
+
5. Navigate to **My Innovator > My Inbasket** in the TOC.
61
+
6. Search for the newly created assignment.
54
62
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.
63
+
If you configured the SMTP server for your Aras instance, you can check your inbox to confirm whether the notification email was sent. If you enabled email debugging instead, check the temp folder. Any email notifications created by Aras will be saved as in the temp folder as text files.
0 commit comments