Multiple workitem is generated when a workflow is triggered
Hi All,
I have created a custom workflow for contract, Using the standard BO BUS2014 and the event Release Step Created.
I have checked settings in SWE2, SWE3, SWEC and they look fine to me. The problem is when a contract is created which has release step then the workflow is generating two workitems for a single event trigger. Can you please help me out in finding this error.
Looking for you kind co-operation.
Regards
PuspaSourav Biswas
Hi,
According to me there must be 2 Workflows getting triggered.
Try checking the Workflow log of the 2 Workitems getting triggered & try identify the Workflow no's of these 2 Workitems.
Is the Workitem text of the Workitems that get triggered identical ???
You can try keeping some different text for your workflow to identify whether both come from the same workflow or not.
This may help you identify whether both belong to ur workrflow or not.
Also once the event is triggered you can go to swi1, put the Event Name & date & time & execute & check which workflows are triggered.
I hope this will help you.
Regards
Mehreen
Similar Messages
-
When PO workflow is triggered i get the following mail to my inbox
Hi Experts,
When PO workflow is triggered i get the following mail to my inbox
Error processing following event linkage:
BUS2012 RELEASESTEPCREATED WS90000001
Following error occurred:
SWF_RUN 594
Message text:
Import container contains errors (are any obligatory elements missing?)
Event container appended as attachment.
Event linkage not changed.
Event stored temporarily.
Events can be redelivered via event queue
administration (transaction SWEQADM).
Please suggest me how to correct this error.
Regards,
DheepakHi,
This happen when the release code value is not passing in to the Event Container.
Check the event Binding, Re-generate, Save & activate it.
See this [Thread|workflow inbox level given message Error in event receiver .;.
Regards,
Surjith -
Child form editing when approval workflow is triggered in OIM 9i
Hi All,
I am working with oim 9i.I wanted to know if there is any way to prevent editing of child form once it is submitted for approval.
I have a object form with a child form attached.
I have these forms attached to a resource object.
It has approval task with 3 levels of approval.
When user requests for the resource object, he has to fill the object form and child form has to be filled by approvers.
But user is able to fill child form also.
Also after 1st approval is complete.The requester is still able to edit child form.
The requester is allowed to edit child form till last approver approves.
In Resource Object and form Object administrator i have added group as- SYSTEM Administrators.
HOW to PREVENT requester from adding data in child form once approval is triggered..
PLEASE help.
Regards,
OIM 9i userokk...thanks for the replies..
I am a newbie and wanted to know how to call this process task adapter as i currently have entity adapter on POST-insert on child form which identifies that there is some update..So does that means through entity adapter i need to call the process task of a approval process?
Also is it possible to get the value of user who updated the child form as soon as it is updated?
On post-insert adapter when i try to get the value of "formupdate by" whenever it is triggered it gives me the previous "update by" and not the current "update by" value?
Does the database get updated later or am i doin somethng wrong,beacuse if it is a post-insert i should get values of "latest update by" on the form? -
Workflow is triggerred in golden client
Hi Workflow guru,
i got a very unique scenario here. i did try to activate the standard travel request approval workflow. (ws20000050). in my environment, i do have two client for the development server. one is served as configuration client and another is served as unit testing client.
I also transport the necessary activation of the workflow from configuration client to unit testing client. However, when the workflow get triggerred, it is happened in the configuration client instead of unit testing client. (please take note that the portal is pointing to unit testing client.
Can anyone throw any light on what are the possible steps that i did wrong?
Regards.Hi Viji,
i did the same as you mentioned. ithe workflow is triggered when i am doing the simulation of event also SWUD. however, it does not happen when i am doing the trip transaction. instead, it is pointed to the workflow in the configuration client.
Is that any other possiblity that it will causing it?
I vaguely remember that i did activate the binding in the configuration client for the workflow and transport it to the testing client. could it be the cause of it? if it is, is that anyway i can revert back to the original state?
Regards, -
PO workflow sends multiple workitem
Dear Experts,
I have created a PO workflow, which triggered on change and releasestepcreated events. This workflow has four level apprval.
It is working fine except, after each approval it sends the multiple workitems to 1st level approver. but there should be not more than one workitem in 1st level when workflow is triggered.
Thanks and Regards,
SohailHi Sohail
"it sends the multiple workitems to 1st level approver"
I am assuming that it's same approval, but different work item ID.
Check SWEL (ensure it's on using SWELS) when PO is changed - see if two events are triggered for the PO (one for BUS2012 and other for FREBUS2012). These may be creating two workflow instances instead of one..... if that is the case, solution is in the following thread: http://scn.sap.com/message/15027373#15027373
Regards,
Modak -
When are Workflows generated from Integration Processes?
Hi Friends
When are Workflows generated from Integration Processes?
regards
SamHello Samuel,
Workflows are build in ABAP engine when you implement your Integration Scenario. So with each Int. Szen. saved in Int. Repository you will get your ABAP workflow in the ABAP stack.
When starting the Integration scenario the workflow history/log in ABAP stack is filled with the first step within your Integration Scenario which is placed after your Start step and using an internal workflow process step.
So you won´t find here explicitly documented send and receive steps in the workflow log (SXMB_MONI_BPE) but transform steps, decision steps etc.... .
Send and receive steps are displayed in SXMB_MONI connected to PI partner (process engine).
So when starting with using BPM it is a little bit confusing to understand how to read both logs and put their information together.
regards
Dirk -
Multiple workflow columns are creating when the workflow is started
Hi,
I have created the workflow based on "Document" content type and have deployed and associated it to it's children content types(CT1, CT2, CT3), Later i have added documents(Doc1 based on CT1, Doc2 based on CT2, Doc3 based on CT3) in the document
library and run the workflow and they are running fine.
But the problem is that, whenever i run the workflow on the new document which is based on different content type than earlier, then a new "workflow status"column is getting created instead of using the already existing workflow status column.
This behavior is happening only when i tried to associate workflow from code and when i manually associate directly in the site it works fine.
Does anyone know how I would go about this?
ChakradharHi Chakradhar,
According to your description, my understanding is that a same workflow status column was created when running workflow on a new document.
Did you re-publish and re-associate multiple versions of workflow to the content type?
If yes, then multiple workflow status columns would be created on the SharePoint List.
In addition, if we ever delete the workflow association to the content type or list and re-associate later to the content type or list, workflow status columns created by the previous association gets left behind.
I recommend to make sure that the workflow has not been re-published and re-associated.
You can delete the extra Workflow Status Column in the list:
http://nikpatel.net/2010/08/07/delete-orphaned-workflow-status-columns-from-sharepoint-list-views/
http://blogs.msdn.com/b/valdon/archive/2009/05/05/removing-extra-workflow-status-column-in-default-view.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Name of the BADI when any workflow Created
Hi Experts,
I want to know what happens when any new workflow created, i mean is any BADI triggers? If so please let me know which BADI triggers, and also let me know How to find what triggers when creating WORKFLOW.Hi,
Pleaes tell us the actual requirement so that we can help you bertter.
Workflow is started by event. Events are created by the SAP itselt ( generally ).
Now if the event is created in the SAP , workflow will be started autometically.
Now before starting the workflow you can check or put some conditon.
For this purpose go to Tcode SWE2 and select any entry ... you find there is a option called "ChecK Function Module"
maintain the custom FM to check the start condition of the workflow.
Its starting immediately by the standard fucntion module. ( assume that event linkage is maintained properly )
SAP system starts the workflow by creating a workitem ( which is nothing but a run time instance of wokflow template ).
In that case SAP system need to know for which template workitem needs to be created.
There may be millions of workflow template number and SAP system will use only that one which is mention in the SWE2.
Let me explain with example.
Object Category BO
Object Type CATS
Event SAVED
Receiver Type WS93000002
Receiver Call Function Module
Receiver Function Module SWW_WI_CREATE_VIA_EVENT_IBF
Check Function Module
Receiver Type Function Module
Now when SAVED event is generated in the system SAP system will create the workitem of type WS93000002
by using FM SWW_WI_CREATE_VIA_EVENT_IBF.
Acually you can not debug a workflow as there is not place to set the break point. In ECC 6 there is some option to set break point but I do not have mutch knoledge in that.
Simply FM SWW_WI_CREATE_VIA_EVENT_IBF is used to start workflow by creating workitem. You do not have to worry how SAP does that.
Thanks and regards,
SNJY -
Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list
Scenario:
We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
I want the users only to be able to see their own cases and no one elses. When I change this under
Advanced Settings under List Settings and
Item-level Permissions and set them to Read items that were created by the user
and Create items and edit items that were created by the user
the workflow doesn´t trigger.
How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
Thanks in advance!
// BrowncreekWhen you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows. Good luck!
Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
Read items that were created by the user and Create items and edit items that were created by the user,
the workflow does not trigger. If I set it back to Real all items and Create
and Edit all items, it triggers the workflow.
Please help me resolve as I have rolled this out to pilot users and am having this trouble.
Thanks,
Vishal -
Controlling multiple workitem in purchase Requisition
Guys,
I need some suggestions regarding the controlling of multiple workitem for Purchase requisition. Our client have a PR release wf and when a PR is saved a workitem is sent to approvers inbox. Within a timeframe say (15 sec) any changes to PR will trigger the same wf and creates one more workitem. I want to restrict the creation of workitem if it falls within the time frame. Good suggestions are greatly appreciated with points.
Thanks in Advance,
IsaacI think you can use Function module SAP_WAPI_WORKITEMS_TO_OBJECT to retrieve the workitem that has been triggered for the same PR and the you can read the table SWWWIHEAD providing the workitem Id and then check the Creation time and compare.
Use this coding in a virtual attribute and use it to define the Start Condition using Tcode SWB_COND
Thanks
Arghadip -
Maintain Equipment Category u2192 Generate Event for Workflow
Maintain Equipment Category u2192 Generate Event for Workflow
I activated this,
Now what should i do further to receive a workflow mail when an Equipment is created for this Equipment Category
ThanksHello
Maybe this can be helpful
http://help.sap.com/saphelp_erp60_sp/helpdata/en/52/e4fac8e31111d58d3a0000e8284931/content.htm
You can Synchronizing Fixed Assets and Equipment and in this scenarier there are workflow you can send out.
BR/Håkan -
How to disable a workflow from getting generated inside a workflow
Hi,
Background : I am using a sequential list workflow (VS 2010) in a SP 2010 site collection.
Problem : the work flow gets generated when an item is created. Now the workflow code is also to create another few items in the same list, so again it will generate workflow, so in short workflows are getting generated inside a master workflow. I need only
master workflow, how this can be achieved.
Shameejcheck the below post on how you can silently update items
http://stackoverflow.com/questions/2466533/sharepoint-workflow-how-to-update-the-item-without-triggering-the-workflow-agai
or you can simply create a Boolean hidden flag in the list you can set as true and check for it in you workflow
Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010 -
Re : Multiple Workitem Execution
Hi ,
I'm using sap 4.7 and created a workflow for plant wise material release .
I would like to execute multiple workitems in one go. Just gone thru postings in SDN , SAP Help and i could not able find much information on this topic.
Do we need any programming to be done for executing multiple workitems ( of sam type ) .
Looking for your views...
Regards,
Vijayhi,
check this thread:
Group many related workitems into one workitem for approval
kind regards, Rob Dielemans -
Trace Stack Error - Multiple step operation generated errors
When importing a mapping table into Financial Data Management, I received an error code 2147217887 multiple-step operation generated errors. Check each status value. I was exporting a mapping table from our development application into our production application, so I am not sure what caused this error message. Any ideas would be greatly appreciated. Thank you.
I solved this problem.
Oracle Provider for OLE DB 9.x is supporting Unicode.
But I didn't handle Unicode (DBTYPE_WSTR).
I added Unicode handling code in my source, then there was no error. -
Approval Preview when the workflow is finished
Hello,
We have implemented the BADI to get multiple level approvals in Shopping Carts. When we display the approvers via Approval Preview the system works fine if the workflow is in process, but when the workflow is finished we donu2019t display anything.
We have SRM 4.00 and the support package SAPKIBKS13 for SRM_SERVER 500
Thanks in advance, Juan ManuelHi,
Please check for following excrepts from SAP help sites:
1. OSS Note 1093840, content here may help to debug.
2. You are using ad hoc agent objects to determine your agents, do not use rules directly as this limits the functionality
available especially during approval preview and can have knock on effects in the display
3. Mark any steps you have added that are not approval steps as "step not in workflow log" - the applet display is based on
the graphical workflow log and unexpected steps can cause unexpected effects in the applet display
4. Make sure you follow the same pattern based approach if you are adding extra approval steps, e.g. make sure the approval
step itself has the same group name as the other approval steps
Also additionaly check for workflow log(SWi6) . If WF is working fine.
Thanks
Maybe you are looking for
-
Office 2013 - Templates contacting MS Server
Dear Community, I've installed Office 2013 Std. on one of our Windows 7 (32 bit) without Office templates. But when I start Word or Excel, the system is always asking for a username & password. This message popups, because our proxy is blocking the c
-
How to Clear GR/IR when business area is different.
Dear All, Using F.13 i cleared my GR/IR account. After doing this there are some items left, which are still not cleared. On verification found that the business area is different in GR and IR i.e, The BA on GR/IR is different on accounting documen
-
PO line item deletion and its effects
Dear all, When I delete the line item of po after MIGO and MIRO, it is allowing to do so. but after migo/miro it should not allow. what rectification can be done? also can u tell me because of this deletion any background entry happens or any stock c
-
Web gallery album is still there after deleting it in Aperture 2.1
I deleted a web gallery album in Aperture because I had Stacks turned on and not all images loaded, but the album is still on the web gallery site and I can't figure out how to delete it from there. Any help? Thanks, Mike T.
-
Retunal & non returnalble Gate pass
Guru My clienyt want to send the material Without Po for vendor for modification on returnable basis can tell me the process & tcode used for removeal T receipt of Material In second case material send to vendor non returnable basis. process in St