Step1. Create an Integration Library with User Defined Type with DB Mapping (ORM).
Step2. Add Process Data Class to the IMExtendedDemoORM
Step3. Add Properties as needed. For this example I have added Some Text, Number, Date, Logical and Choice List. Click next once you have all the required properties.
Add Index for the Data if needed and created the DataType and hit Finish. Once it’s completed it will generate the required code for the same.
Step4. Now click the “Included Libraries” button and add the Symantec.ServiceDesk.IM.Automation.dll to bind this custom data with Incident Management Automation library
Step5. Click Add in the Generator and Select Automation Library Generator. When it asks to choose Service ID select “Use Existing Automation Library” and select Incident Management. Once done hit Compile and Close.
Step6. Now login to the Process Manager Portal with an admin account preferably native admin account (firstname.lastname@example.org) and go to Admin>Portal>Plugin Upload, and select Plugin Type as Automation Library and uploaded the IMExtendedDemo.dll file from “C:\Program Files\Symantec\Workflow\Shared\customlib”, Once uploaded restart the IIS to reflect changes in Process Automation
Step7. Refresh the IE or Close it and re-open it and login with admin account and go to Admin>Process Automation and you’ll see that IMExtendedDemoDataType next to Incident Management
You can see the New DataType are added to Condition and Actions of Ruleset, Email templates and Reports.