About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
Binding variable :&OWNER&.
Symptom
A Work Order's description value should be the same as the Service Request's description value when the Work Order is created from a Service Request.
If you use :&OWNER&.DESCRIPTION as a defaultvalue from database configuration to achieve this, the result will comes out as below.
1) When a Work Order is created from the Service Requests application, the WO's description value is populated with the same value as the SR's description value.
2) When the Work Order is being created manually from the Work Order Tracking application, the WO's description value is populated as ':&OWNER&.DESCRIPTION'.
Resolving The Problem
You can implement this within Automation Scripts in the way you want.
[Using Add Event] - If your logic is only to copy description.
1. Go to the Automation Scripts application and do Select Action / Create / Script with Object Launch Point.
2. Set the Launch Point Name for object Workorder , check the "Add?" checkbox and click Next.
3. Name the script and add a new row for Variable and set as below, then click Next
4. Type as below In the source code and click Create
5. Open the script just created, change the status to Active and test creating a new WO from the Service Requests and Work Order Tracking applications
[Using Initialize Event] - If you need to add more logic along with copying description.
1. Go to the Automation Scripts application and do Select Action / Create / Script with Object Launch Point.
2. Set the Launch Point Name for object Workorder , check the "Initialize?" checkbox and click Next.
3. Name the script and add a new row for Variable and set as below, then click Next.
4. Copy and paste the text below In the source code and click Create.
5. Open the script just created, change the status to Active and test creating a new WO from the Service Requests and Work Order Tracking applications.
[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21686521
Manage My Notification Subscriptions