Skip to main content

Are there any means to send a work task to MWO pool (Cloud) automatically before it has been assigned to a certain resource?

Did not find any suitable Database Task method under MWO component to use. 

The case behind is that there would be PM Actions that generate work requests/tasks that are executed on daily basis autonomously by the operators and supervisor intervention to assign tasks in between is not needed.

Just take the tasks from the pool as they get generated.

Hi @Timo Tiihonen   You need to use transfer to mobile option on task to send it to mobile. 

We have below method in Mwo. You need to set only the task_seq and Pool_Flag (to true)

Mobile_Work_Order_Util_API

PROCEDURE Generate_Wo_To_Mobile (
   task_seq_           IN NUMBER,
   exe_instance_seq_   IN NUMBER DEFAULT NULL,
   in_resource_seq_    IN NUMBER DEFAULT NULL,
   in_identity_        IN VARCHAR2 DEFAULT NULL,
   pool_flag_          IN VARCHAR2 DEFAULT NULL,
   init_from_schedule_ IN BOOLEAN DEFAULT FALSE)

 

Will this helps ?.


Hi Bandula, 

 

Thank you. I did not find this method in database tasks. Is there some setup to be made?

 


Hi, Seems boolean data type is not supported here. So it is unable to call it directly. Probably you need a add a custom method with only Task_Seq as a parameter and then call this method with in that.