This warning message should not cause any issues. You said you are sending email using a custom class and not using a communication template? Did you check the workflow history to see if the same record is going through the same node twice? Also have you attached a commtemplate to send email at the workflow node as well? (May be this is sending one email and other one sent by class?)
Original Message:
Sent: Thu March 02, 2023 06:50 AM
From: Channa
Subject: Work Order Workflow Query
Hi Suhas,
Thanks for your reply.
i dont see any difference in WO pattern. I have verified other configurations like automation scripts.. etc so same action is not invoked.
Today from logs i found one difference between WO's (success and failed one). The difference is, for WO where email is sent twice, there is one query executing on WO object (log message --> [WARN] [MaxCRON01] [CID-CRON-573985] BMXAA6720W - USER = (MAXADMIN) SPID = (263) app (null) object (WORKORDER) ) which is not triggered/shown up for other WO (where email is sent once).
Seems like some lag/delay in sql execution (BMXAA6720W) might be causing this issue but not very sure..
------------------------------
Channa
Original Message:
Sent: Thu March 02, 2023 12:58 AM
From: Suhas Joshi
Subject: Work Order Workflow Query
Hi Channa,
Is there any pattern for which WO's this is happening? Are there any other configurations such as automation scripts invoking similar action? Try to turn on admin mode and test again. If it works then there must be something else as well doing same action.
------------------------------
Suhas Joshi
Original Message:
Sent: Thu March 02, 2023 12:46 AM
From: Channa
Subject: Work Order Workflow Query
Hello Everyone,
I also have a similar issue - duplicate communication log entry created on WO when its dispatched. Email also sent twice in my case.
But here we are using a custom workflow on PO (without any wait node) but has a custom class action associated and that is sending email when WO is dispatched.
For most of the WO's its working fine (sending only one email with one communication log entry) but for few of the WO's issue is happening.
As email is being sent from class file, I have also verified the class logic and found that respective methods are triggering only once with no repetition/loop.
What could be the issue here, is it something related to JVM? Please share your thoughts. Thanks in advance.
Thanks,
Channa
------------------------------
Channa Maximo Consultant
Original Message:
Sent: Wed March 01, 2023 03:29 AM
From: Shannon Rotz
Subject: Work Order Workflow Query
Question:. Did you have a reason for using workflow? I ask because I would use an escalation for this normally.
Original Message:
Sent: 2/28/2023 10:55:00 PM
From: Suhas Joshi
Subject: RE: Work Order Workflow Query
Hello,
Are the emails also being sent twice through comm templates or is it just logging twice and sending email once? Can you try to remove wait node and add a task node and accept the assignment through task node and see if you face same issue? you can add status change action on the line going out of task node.
------------------------------
Suhas Joshi
Original Message:
Sent: Mon February 15, 2021 03:31 AM
From: Community Support Admin
Subject: Work Order Workflow Query
Hi All,
New to Maximo here and attempting to create a workflow on the Work Order table with the intention of firing a Communication Template on each status update of the work order. I have the concept of this working but for some reason I am getting two update entries and I have no idea why (and is probably something simple)!
Workflow:
On the workflow, after the start I have a WAIT node, the event on this wait node is: maximo.workorder.statuschange.* which then moves onto a condition to check the stats not in ('CAN','COMP','CLOSE'). The negative flow here moves to the stop node, the positive flow moves back to the wait condition.
When enabling the logging on the communication template I can see this logged twice when the status is changed - any ideas why? Is there anything I can check?
#SupportMigration
#Maximo
#AssetandFacilitiesManagement
#Support