This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.
----- Forwarded Message -----
From: vivek ev <vivekev@yahoo.co.in>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Thursday, 3 May 2012 5:37 PM
Subject: workflow is not intiated throgh bridge
HI Everyone,
I have facing one problem.I want to initiate a workflow using field level class but not able to do this.
My scenerio is like this.
1. I am mapping two maximo systems each other and updating one field
value from one system to other. For example ServiceGroup field in
Incident.
2. I put one Field level class for this field to initiate the workflow
as the value is updated from the other system using mapping.
3. As the particular field's value comes from the other system in my system, the workflow is not being initiated.
My workflow is working properly via Escalation and we can say that it
works automatically.The main problem is coming that it is not executing
via Field level class when the new field value comes from
bridge(Different system as my system is mapped with other system).
In my system when you change the field value manually then workflow
executes automatically and gives the expected result. But it is not
working in other scenario. It is not executing when field value updated
automatically via other system(which is bridge).
if ( !( getMboValue().isNull() ) && ( getMboValue().isModified() ) && !( getMboValue().getMbo().isNew() ) && !( getMboValue().getCurrentValue().equals("CLOSED") ) )
((WorkFlowServiceRemote)MXServer.getMXServer().lookup("WORKFLOW")).initiateWorkflow("ASGAUTOSVC", getMboValue().getMbo() );
Please help me to solve this problem.
Thanks
Vivek