Changing Status of document should start workflow
Hi WF-experts,
another issue I have to deal with:
My WF should start after the status of a document has been changed.
The process is that the customer creates a document and saves the entries (status is "in process"). Later he wants to have the opportunity to change the sales document. If he sets the status to "for approval" the WF should start (with the approval process).
First I defined the event "CREATED" as start event but that is not right. I enhanced my business object (BUS200115) with a new event and mentioned that one in the start event tab of my workflow. But it does not work.
Do I have to define an action profile?
How can I start my workflow after changing a status of a sales document which was already created?
Thanks a lot
Depending on the type of document, you can trigger the event by change of status:
http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4aee2453d11d189430000e829fbbd/content.htm
For example this works for "classic" SAP objects like production orders, document management documents, etc, and is a very nice way to handle it, because you can easily customize your status profile to support your business process. These status profiles are maintained in the IMG or transaction BS02 (BS22 displays system statuses for objects that use this status type).
I've noticed that a lot of newer SAP components don't support this though.
I hope it is helpful, if not in this case maybe in the future.
Margaret
Similar Messages
-
Start workflow on Document check In
Workflows initiate the moment I add a document even though it has not been checked in yet. I only want to start the workflow once the document has been checked in. How can I do that?
Hi spupload,
According to your description, my understanding is that you want to initiate a workflow when adding a document, and start the workflow after the document has been checked in.
In SharePoint 2013 Designer workflow, it contains the SharePoint 2010 workflow platform, you can use "Wait for Change in Document Check-Out Status"action in SharePoint 2010 workflow platform, and change the status to Check-In.
More information about this action, please refer to the article:
http://info.akgroup.com/blog-0/bid/71286/SharePoint-2010-Workflow-Basics-Actions-Part-2-of-3
In addition, you need to set the workflow run when an item is added in workflow Start Options.
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Accounting status not "documents posted" trip can't be changed
Hi Experts,
Can you please help me on this issue ? please provide your valuable inputs ?
when user is trying to create an expense report from travel plan, getting error message , Accounting status not ' documents posted ' trip can't be changed.
Thanks in Advance.HI Lakshmi,
Once posting is done you can't edit expense as per standard. If they want to edit expense they should do enhancement.
Regards,
Nischitha -
Change Status of Follow up document ( Call of Order )
Hi Experts,
The Scenario is to create a contract in CRM whose follow up document is call of order. Now the requirement is, When the Status under the general tab in the Contract changes to Approved immediately the status of the follow up document (i.e. the Call of Order documents) should changed into an Approved state.
I want to know the procedure as well as the Function Module name which i can use to change the status of preceding documents. Also, I want to know the diffrence between SYSTEM and USER status as i was asked to change the USER STATUS.
Kindly Suggest...Hi Shreeya,
Use FM CRM_WR_CHANGE_STATUS to change the status and then use FM
CRM_WR_ORDER_MAINTAIN to update the changes to Document.
Best Regards,
Pratik Patel.
Reward with points if it is of any help to you! -
User-Exit for document changes (status)
Hi!
I'm looking for an user-exit where I can check if the status of the document has been changed. Therefore I found the exit "EXIT_SAPLCV110_004" with the include "ZXCV110U04" which is triggered when a document (transaction CV02N) is saved. The problem is that there is no structure of the document provided so I cannot check the status of it! The interface if this exit is just
FUNCTION EXIT_SAPLCV110_004.
""Lokale Schnittstelle:
*" CHANGING
*" REFERENCE(PFX_OKCODE) TYPE SY-UCOMM
INCLUDE ZXCV110U04 .
ENDFUNCTION.
Is there another exit or how can I check if the status has changed for each document?
Thanks,
KonradYou can code in EXIT_SAPLCV00_001. Write your code in the program ZXCV001U01. This has DRAW structure valeus and also DRAZ Item details.
FUNCTION EXIT_SAPLCV00_001.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_DRAW) LIKE DRAW STRUCTURE DRAW OPTIONAL
*" VALUE(I_OK_CODE) OPTIONAL
*" VALUE(SOURCEPATH) LIKE DRAW-FILEP OPTIONAL
*" VALUE(SOURCEFILE) LIKE DRAW-FILEP OPTIONAL
*" VALUE(TARGETPATH) LIKE DRAW-FILEP OPTIONAL
*" VALUE(TARGETFILE) LIKE DRAW-FILEP OPTIONAL
*" TABLES
*" I_INTDRAZ1 STRUCTURE DRAZ OPTIONAL
*" I_INTDRAZ2 STRUCTURE DRAZ OPTIONAL
*" EXCEPTIONS
*" ERROR
INCLUDE ZXCV001U01 .
ENDFUNCTION.
Hope this will help you to check the conditions. -
Changing Status of preceeding document in CHARM
Hi Experts ,
I need to change the status of a preceeding document in CHARM.
I created a YDAD document from YDCR.
When i change status of YDAD to cancelled i need to change status of YDCR to Cancelled.
Steps i followed :
1 . While changing status of YDAD to cancelled i added a new parameter PREDOC_STATUS and given status of YDCR as E0009.
2. In "Assign actions" for status "cancelled" of YDAD i hve given a action SET_PREDOC .
3.In "Specify Status Attributes" for status "cancelled" of YDAD i hve given YDCR YDCRHEAD E0009.
But still it is not working . Please help me on this .
Thanks , VijayHello,
please take a look to this Re: Change status of previous document
If solution is not provided; please put break points as stated lines and tell us what you see
Regards
Khalil -
Pricing should not be changed in billing document?
HI,
We have given manual entry provision for pricing in Sales order level . But as per the company requirement, the price should not be changed in the billing document. Also the point to be considered is, it is a delivery based billing. What is the configuration required to ensure that , System should not allow pricing to be changed in billing document when it is getting created.
I have checked the forum and found no threads linked to it. Kindly help me in this regard.
Thanks in advance
Rgds,
Sivarajesh. JHi ,
In SPRO -> S&D-> Billing Documents ->Maintain copying Control for Billing documents. Here select for copying control for ( based on your case) delivery type to Invoice type (Eg: Invoice type F2: Delivery type : LF) and then go to Item and select Item Category.
And then go to Item Category details (Eg: TAN) . Here you find Pricing type and based on your requirement you can select. If not satisfying your need then you can modify the copying requirement.
Thanks,
Veerendra -
I want to delete the originals of document while changing the status of document based on CAD indicator status. For this I have implemented BADI DOCUMENT_STATUS01 and the method AFTER_CHANGE_STATUS. From this, the BADI is triggering whenever I am changing the document status and I can able to delete the originals. But here my requirement is to check the CAD indicator status to delete those originals. I.e. whenever the document status will change first time the CAD indicator status will also change. Based on that old and new status of CAD indicator I have to do delete operation.
If anybody has an idea about SAP documents please help me
Thank you,
Regards,
RameshFirst the document is exists in SAP in FR status. But when the CAD system will connect to SAP then the status is changing from ‘FR’ to ‘IN’ after that the CAD Indicator is populating from Blank to ‘X’.
I want to know in which place the CAD indicator value is changing (any user exits available or any BADI s available when changing the CAD indicator) when connected to CAD system. -
Changing a Parked Document via workflow
Hi again
Before we did the upgrade from 4.7 to ECC6.0, on 4.7 approvers were able to make changes to parked documents via their inbox i.e. they would be able to go to change wrong data or add missing account assignments. However after the ECC6.0 upgrade when approvers access documents via their inbox they can only display the documents with only the option to release or reject and without the option to change.
Could this be a result of changes between 4.7 and ECC6.0 and if so what can we do to allow for approvers to be able to change parked documents via their inbox.I found SAP Note 670910 explaining that this was actually a program error which allowed approvers to changed parked documents via workflow.
-
by default new document/templates start with above, How I change to be Strict 1.0 XHTML ?
Tell me for Dw MX2004 & CS4 ?
If I start with Transitional 1.0 XHTML and want to change to Strict 1.0 XHTML the only way is modify code or make a new doc ?Using CS4, there are a few ways to do it:
1. when creating a new document - you can select the doc type preference.
2. In your preferences, you can set up which document type will be opened when you select a new document.
3. If you start with one doctype and want to convert it to another use: -
Hi,
My friend asked me to post this question in his name here.
He wants to create a simple workflow in PM. After user creation of the equipment in IE01 workflow need to be started and give the task for asset number creation to the next user.
Do you have any manuals like "workflow for dummies" )?
BR
Saso
PHi
Workflow automates the steps and activities in a business process according to predefined procedures and rules.
Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
Workflow tracks each and every step in the process flow and maintains an ongoing status.
Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
Check the below links u will get lot of info..
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Debug a workflow.
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Workflow tutorials with step-by-step and with screenshots are available at
http://www.****************/Tutorials/Workflow/Workflow.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
Regarding Work Flow
work flow scenarios.
1. applying for a leave.
2. approval process.
3. material creation process.
4. mainly work flow is for notification purpose.
chk this links
http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.erpgenie.com/workflow/index.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
http://www.insightcp.com/res_23.htm
A good tutorial
http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
/people/alan.rickayzen/blog
/people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
a good book
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-press.com/downloads/h950_preview.pdf
Check the following PDF
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
also seach the workflow forum: SAP Business Workflow
Transactions
AWUV Wizard for event creation Definition tools -> Event creation -> Set up with wizard
MCA1 Workflow Information System Reporting -> Workflow Information System (WIS)
OOAW Evaluation paths
PFAC Maintain standard roles
PFAC_CHG Change roles Definition tools -> Standard roles -> Change
PFAC_DEL Delete roles Definition tools -> Standard roles -> Delete
PFAC_DIS Display roles Definition tools -> Standard roles -> Display
PFAC_INS Create roles Definition tools -> Standard roles -> Create
PFOM Maintain assignment to SAP organizational objects Definition tools -> SAP org. objects -> Create assignments
PFOS Display assignment to SAP organizational objects Definition tools -> SAP org. objects -> Display assignments
PFSO Organizational environment of a user
PFT Maintain customer task
PFTC General task maintenance
PFTC_CHG Change tasks Definition tools -> Task/Task groups -> Change
PFTC_COP Copy tasks Definition tools -> Task/Task groups -> Copy
PFTC_DEL Delete tasks Definition tools -> Task/Task groups -> Delete
PFTC_DIS Display tasks Definition tools -> Task/Task groups -> Display
PFTC_INS Create tasks Definition tools -> Task/Task groups -> Create
PFTR Standard task for transaction
PFTS Standard task
PFWF Maintain workflow task (customer)
PFWS Maintain workflow template
PPOC Create organizational plan Definition tools -> Organizational plan -> Create
PPOM Maintain organizational plan Definition tools -> Organizational plan -> Change
PPOS Display organizational plan Definition tools -> Organizational plan -> Display
SWDA Ongoing Settings Administration -> Settings
SWDC Workflow editor administration data
SWDM Business Workflow Explorer Definition tools -> Business Workflow Explorer
SWE2 Display and maintain event type linkage Utilities -> Events -> Type linkages
SWE3 Display instance linkages Utilities -> Events -> Instance linkages
SWE4 Switch event log on/off Utilities -> Events -> Event/log -> On/Off
SWEC Link change documents to events Definition tools -> Event creation -> Change documents -> Linkage
SWED Assignment of change document objects to object types Definition tools -> Event creation -> Change documents -> Define workflow properties
SWEL Display event log Utilities -> Events -> Event log -> Display
SWF3 Workflow Wizard Explorer Definition tools -> Wizards -> Workflow Wizard Explorer
SWF4 Workflow Wizard Repository Definition tools -> Wizards -> Workflow Wizard Repository
SWI1 Selection report for workflows Utilities -> Work item selection
SWI2 Work item analysis Reporting -> Work item analysis
SWI3 Workflow outbox Runtime tools -> Workflow outbox
SWI4 Task analysis Reporting -> Task analysis
SWI5 Workload analysis Reporting -> Workload analysis
SWI6 Object links Runtime tools -> Object links
SWI7 Workflow resubmission folder From Integrated Inbox or Workflow Outbox
SWI8 Error overview Part of administration of workflow runtime system (transaction SWUF)
SWL1 Settings for dynamic columns Customizing, part of ongoing settings
SWLC Check tasks for agents Utilities -> Consistency check -> Organizational assignment
SWLD Workbench for Workflow 4.0
SWLP Copy plan version
SWLV Maintain work item views Customizing, part of ongoing settingS
SWLW Workbench for Workflow 3.0
SW01 Business Object Builder Definition tools -> Business Object Builder
SW06 Customizing object types From Business Object Builder, choose Settings -> Delegate -> System-wide
SWU0 Event simulation Utilities -> Events -> Simulate event
SWU2 RFC monitor Utilities -> Workflow RFC monitor
SWU3 Customizing consistency check Utilities -> Customizing
SWU4 Consistency check for standard tasks Utilities -> Consistency check -> Task -> Standard task
SWU5 Consistency check for customer tasks Utilities -> Consistency check -> Task -> Customer task
SWU6 Consistency check for workflow tasks Utilities -> Consistency check -> Task -> Workflow task
SWU7 Consistency check for workflow templates Utilities -> Consistency check -> Task -> Workflow template
SWU8 Switch technical trace on/off Utilities -> Technical trace -> On/off
SWU9 Display technical trace Utilities -> Technical trace -> Display
SWUD Diagnostic tools Utilities -> Diagnosis
SWUE Trigger event Utilities -> Events -> Generate event
SWUF Runtime system administration Administration -> Runtime system
SWUG Workflow start transactions Definition tools -> Workflow start transactions
SWUI Start workflows From the R/3 initial screen, choose Office -> Start Workflow
SWUS Start tasks Runtime tools -> Start workflow
SWUY Wizard for message linkage to workflow Definition tools -> Wizards -> Create "Call workflow from message"
SWX1 Create notification of absence
SWX2 Change notification of absence
SWX3 Display notification of absence
SWX4 Approve notification of absence
SWXF Form applications: Access point Environment -> Demo examples -> Fill out form
Reports
RSWWWIDE Delete work items
RHSOBJCH to fix PD Control Tables
Tables
SWW_OUTBOX - Lists Workflows in outbox together with status
SWW_CONT - Container Contents for Work Item Data Container
SWW_CONTOB- Container Cont. for Work Item Data Container (Only Objects)
SWWLOGHIST- History of a work item
SWWORGTASK- Assignment of WIs to Org.Units and Tasks
SWWUSERWI - Current Work Items Assigned to a User
SWWWIHEAD - Header Table for all Work Item Types
Regards
Anji -
How do i change a pdf document into a word document?
How do I change a pdf document into a word document?
Please see our getting started guide: http://forums.adobe.com/docs/DOC-2412
That should help you use your ExportPDF subscription.
-David -
Start Workflow when Upload File using drag and drop
Hi,
I am working with SharePoint 2013.
I have a workflow needed to be started and run only once after a document is uploaded into the document library. The document library has
required custom columns with default values. If I set workflow starting option as 'On Created', when user got redirected to the edit form and click 'Save', there would be error as
"The <filename> has been modified by <user> on <datetime>". Besides the unwanted error dialog, the metadata entered by users are not reflected. I understand the issue is because the workflow had already started before
the edit form showed and it modified the file.
So I changed the starting option to 'On Changed", created an additional column to record if the workflow has been run or not to avoid running the whole workflow more than once. This works fine for normal upload. However on drag and drop, the
event 'On Changed' is not triggered and the workflow is not started. I checked the version of the file but in both normal upload and drag and drop, there is another version after the first version. But
only the version of normal upload triggers the workflow.
I read an article about some Mode = Upload on the edit form.
https://go4answers.webhost4life.com/Example/workflow-triggered-during-upload-user-149297.aspx
It seems that the Mode = Upload is not there anymore for normal upload, but it's still there for drag and drop. Not sure about this
Is there a solution for my case. Basically I want to start the workflow only once when the document is uploaded normally or via drag and drop. For normal upload, user can
edit the custom metadata right after they browse the file. For drag and drop, the
metadata will be set as default values.
Thank you.I'm still researching your issue, but as an interesting note... This is an issue only when I use a 2013 style workflow. I do not get the error when using a 2010 style workflow.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
Changing Status Message in ALE
Whenever we post a order, and if that Order contains some error, it should throw a message to workflow inbox, telling the Order Number and the item Number for Error.
For Eg., Actual error defined in SAP is "Document contains same order item more than once", with 1st Parameter as 0000280145 and 2nd parameter as 00001. But in the workflow, the orginal error shows is just the text message described above i.e., "Document contains same order item more than once". I need to change it as "Document 0000280145 contains same order item 00001 more than once". I think, u mite got my requirement clearly.
Also in certain places, if there are more than two errors, it is getting stored in Application Log.
For Eg., Actual Error defined in SAP is "Messages from IDoc processing can be found in application log". When i click the application log, it tells two error messages...
1. Vendor material 97082D is unknown
2. Item 99999 of purchasing document 0001266463 does not exist
It is getting stored in some table (thro EDIDS-APPL_LOG). Even i need to pass this two errors in the workflow, instead of just "Messages from IDoc processing can be found in application log".
Also is there any function module exists or from which table i have to pass this APPL_LOG number, to get the necessary Text.
Is there any way to solve this?
Thanks and Regards,
Vijay GRequirement looks bit strange to me, if at all the IDoc is not needed to be sent for error message then why to Generate them, just filter out creation of IDocs by setting the Filters in Distribution model.
For your requirements you may want to take a look at Badi HRALE00OUTBOUND_IDOC.
Regards
Shital -
Error when sending xml to queue to start workflow
I am trying to start workflow by sending xml to the com.bea.wlpi.EventQueue. My xml
looks like this:
msgText:<zenith><claimAssignment><policyId>2990</policyId><claimId>1986</claimId><subjectId>1</subjectId><subjectTypeId>1</subjectTypeId><branchId>1</branchId><state>CA</state><county>LosAngeles</county><zipcode>91367</zipcode><claimantLastName>Bromberg</claimantLastName><catastrophic>N</catastrophic><workflowtasks>
<checkBranch>1</checkBranch><checkPolicy>0</checkPolicy><checkClaimType>1</checkClaimType><checkAlphaRange>1</checkAlphaRange><checkWorkload>0</checkWorkload></workflowtasks></claimAssignment></zenith>
I define variable claimId in start node as expression XPath("/zenith/claimAssignment/claimId/text()")
When invoking trying tostart the workflow I am getting the error javax.ejb.CreateException:
The mandatory input variable "claimId" is not specified. But it is defined with valid
XPath. Can somebody help me please?
Thanks,
David
I captured debugging info from workflow:
EventListener 907019 Ordered Message Bean has an Order ID of -1
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Started transact
ion Xid=70:04e708c2(2179749),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthe
rs=0,seconds since begin=0,seconds left=90,activeThread=Thread[ExecuteThread: '0
' for queue: 'default',5,Thread Group for Queue: 'default'],SCInfo[bpmdomain+mys
erver]=(state=active),OwnerTransactionManager=ServerTM[ServerCoordinatorDescript
or=(CoordinatorURL=myserver+192.168.2.128:7001+bpmdomain+, Resources={})])
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Key value expres
sion = null
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Processing com.b
ea.wlpi.server.eventprocessor.JMSEventData@2dc941[contentType=text/xml,eventDesc
riptor=zenith,keyValue=null,content=[#document: null],expiration=0,startInstance
ID=null,instanceIDs=null,templateNames=null,messageID=null,header=[JMSCorrelatio
nID=null,JMSDeliveryMode=1,JMSDestination=eventQueue,JMSRedelivered=false,JMSExp
iration=0,JMSMessageID=ID:N<638439.994966410390.0>,JMSTimestamp=994966410390,JMS
Priority=4,JMSReplyTo=null,JMSType=null],properties=[]]
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': There are 1 cand
idates
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': checking trigger
for candidate - com.bea.wlpi.server.eventprocessor.EventCandidate@48c644[condit
ion=null,plugin=null,fieldID=0,templateID=2005,templateDefinitionID=6001,instanc
eID=null,nodeID=1,startOrg=CDExpress,orgIsExpr=false]
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Matched event da
ta to start node 1 in template 2005
javax.ejb.CreateException: The mandatory input variable "claimId" is not specifi
ed.
at com.bea.wlpi.server.instance.WorkflowInstanceData.<init>(WorkflowInst
anceData.java:307)
at com.bea.wlpi.server.instance.WorkflowInstanceBean.ejbCreate(WorkflowI
nstanceBean.java:292)
at com.bea.wlpi.server.instance.WorkflowInstance_h6bur0__WebLogic_CMP_RD
BMS.ejbCreate(WorkflowInstance_h6bur0__WebLogic_CMP_RDBMS.java:1513)Is this issue resolved? Could you share the AXL / Client profile agent logs during the login?
Maybe you are looking for
-
I have built a new machine with the following Specifications: (All new parts) Mainboard: MSI 785GM-E51 RAM: Crucial Ballistix sport 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1333 Desktop Memory Model BL2KIT25664BA1339 CPU: AMD Athlon II X3 455 Rana 3.3GH
-
Intel iMac randomly relaunching Finder. RAM problem?
Several months ago I bought a new 3.06 GHz Intel iMac with 2GB of RAM. I also bought CS4 so I maxed out my RAM at 4GB with a 2x2GB RAM kit from Other World Computing. I've noticed in the lately that everything will suddenly hang, the Dock won't appea
-
Excel output gets expanded when developing Xml publisher report !!
I am developing a report using XML publisher which generates Excel output .... And my layout keeps repeating for every unique delivery...(i am passing 'x' deliveries as input) 1) When i try to generate a pdf output, my report works fine but when i tr
-
just bought an ipod nano and cannot figure out how to sync the music from itunes onto it. i go to itunes and nothing happens. Is there a sync button im not seeing? I get my playlisits but that is it. ALSO does anyone know how to have 2 ipods on 1 com
-
Hi guys, I am using idoc PORDCR101 for creating & posting Service PO. During posting i am getting 51 error. And the error is " In case of account assignment, please enter acc. assignment data for item. segments: E1BPMEPOHEADER: PO_NUMBER - 000