Aras Workflow Approval
This project contains an import package and steps to assist with the installation/configuration of the Aras Workflow Approval add-in for Outlook 365.
You can read more about the Aras Workflow Approval add-in here.
Installation
Important!
Always back up your code tree and database before applying an import package or code tree patch!
Pre-requisites
- Aras Innovator installed (version 11.0 SPx preferred)
- Note: The Aras instance must be configured to use the HTTPS protocol.
- Aras Package Import tool
- Microsoft Outlook 365
- Aras Workflow Approval add-in installed
Install Steps
Import the Package
- Backup your database and store the BAK file in a safe place.
- Open up the Aras Package Import tool.
- Enter your login credentials and click Login
- Note: You must login as root for the package import to succeed!
- Enter the package name in the TargetRelease field.
- Optional: Enter a description in the Description field.
- Enter the path to your local
..\ArasWorkflowApproval\Import\imports.mf
file in the Manifest File field.
- Select ArasWorkflowApproval in the Available for Import field.
- Select Type = Merge and Mode = Thorough Mode.
- Click Import in the top left corner.
- Close the Aras Package Import tool.
Setup the Server Url Variable
- Login to your Innovator instance as an administrator.
- Navigate to Administration > Variables in the TOC.
- Search for the Variable named ServerUrl and open it for editing.
- Enter your Innovator url in the value field. For example, if you login to Innovator at https://myhost.com/Innovator11SP14, use that as the value.
- Do not include a trailing slash at the end of the url.
- Do not include "/Client" or any additional characters in the url path.
- Save and close the Variable item.
Option 1: Use the Aras Workflow Approval email message template
- Log in to Aras as an administrator.
- Navigate to Administration > Workflow Maps.
- Open and lock your Workflow Map item.
- Select an Activity.
- Select the Notifications tab.
- Add a new relationship.
- Select the New Assignment Template email template
- Event = On Activate
- Target = Alternate
- Alternate = User who will receive messages
- Repeat Steps 4-6 for all Activities that should send emails.
- Save, unlock, and close the Workflow Map.
Option 2: Update an existing email message template
- Log in to Aras as an administrator.
- Navigate to Administration > Notification > E-mail Messages.
- Open and lock your E-mail Message item.
- Add the following to the Body HTML field on your E-mail Message item:
<BODY>
<style>
span {
display: none
}
</style>
<p>You have been assigned a new workflow activity in Aras Innovator. Please open the Aras app above to complete the activity.</p>
<span id="activity">${Item[1]/name}</span><br/>
<span id="itemNumber">${Item[2]/item_number}</span><br/>
<span id="itemType">${Item[@type="ItemType"]/name}</span><br/>
<span id="database">${Item[3]/database}</span><br/>
<span id="host">${Item[3]/host}</span><br/>
<span id="trigger">InBasket</span>
</BODY>
- Add the following to the Query String field:
<Item type="Activity" id="${Item/ActivityId}" action="get" select="name,message"/>
<Item type="${Item/@type}" id="${Item/@id}" action="get" select="item_number"/>
<Item type="ItemType" action="GetUrl" select="database,url"/>
<Item type="ItemType" id="${Item/@typeId}" action="get" select="name"/>
- Save, unlock, and close the E-mail Message item.
You are now ready to use the Aras Workflow Approval add-in for Outlook!
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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 araslabs@aras.com.
Credits
Documented and published by Eli Donahue for Aras Labs. @EliJDonahue
License
Aras Labs projects are published to Github under the MIT license. See the LICENSE file for license rights and limitations.