Activating workflow
Hi All,
We are very new to workflows. we are working on SRM 5.0.
We are facing a problem with activating a workflow.
We want to enable a workflow such that for x value of shopping cart, the approval goes to person1 and for y value (y>x) of shopping cart the approval has to be done by person2.
we found that this is the value limit 1 step workflow which is WS10000276.
When we went to the spro setting for definig the start conditions, we did not find this workflow listed there. Could someone help us and tell us how we should activate this workflow?
Wetried going into task specific customizing under the SAP business workflow. wwe found our workflow there. but we were not sure how to proceed.
Please let us know what should be done.
Regards,
Vidhya
Hi,
WS10000276 is no longer used.Instead you can use the Workflow WS14000109.Please refer the foll link for more details:
http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
BR,
Disha.
Pls reward points for useful answers.
Similar Messages
-
Hi All,
As we are reimplementing the existing system(Which is running from past 5 years) i need to find out all the active work flow's in my system. Is there any good way to find?
Thanks,
Krishna.Hi
To find out all active workflow currently on the system from Table entry
V_ORG_WI.
This has list of active workitem with User details.
Hope this helped you.
Regards,
Sriram -
ECMA script for checking active workflows for an list item
Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
me the ECMA object model equivalent for achieving the same.
//Check for any active workflows for the document
private void CheckForActiveWorkflows()
// Parameters 'List' and 'ID' will be null for site workflows.
if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
SPWorkflowManager manager = this.Site.WorkflowManager;
SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
if (workflowCollection.Count > 0)
SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
}Hi,
According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
You can use the Workflow web service "/_vti_bin/workflow.asmx"
- GetWorkflowDataForItem operation in particular.
Here is a great blog for you to take a look at:
http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
In addition, you can use
SPServices. For more information, please refer to:
http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Active workflows in the system
Hi all,
Is there any way I can find all the active workflow in the system at table level??
Kr
VithalHi Vittal,
Could you please state what exactly is the requirement to do that?
At user level you can get the curret workitems assigned to a user from table SWWUSERWI.
Check this table for all users.
Regards,
Saumya -
Hi experts,
How to get the active workflow from the PRD system and its related task, methods .
I have tried SWE2.Apart from this is there any program are T-code to get the full details of active workflow.
Its very urgent for Upgrade activity .
By,
RamHi Martin,
I have created a list by using SWE2 ,to get the list of active workflows.Is it corret way to get the list.
And also i am confused after taking the list by using SWE2.
Below is the list.
Object Type Event Rec.Type Type linkage Enable event
BUS2094 CHANGED SUBSCRIBE X 0 No errors
BUS2094 DELETED SUBSCRIBE X 0 No errors
BUS2102 CHANGED SUBSCRIBE X 0 No errors
BUS2102 DELETED SUBSCRIBE X 0 No errors
BUS2103 CHANGED SUBSCRIBE X 0 No errors
BUS2103 DELETED SUBSCRIBE X 0 No errors
Usually receiver type is workflow number but in my case some the objects are linked with receiver type SUBSCRIBE. I dont know what is this, with this name no workflow are there. Kindly give me an clarification upon this.
Pls give me some idea ,Its urgent. -
Active Workflow list for all modules
Hello,
What is the best possible way to pull a list of all the active workflows in the system? I was trying to check the SWWWIHEAD table .
Thanks for your help in advance.
JagrutiArgadip,
I was trying to pull form the table SWD_HEADER (WF Definition/Runtime: Basic Data), which has an active flag. Howvere I was not able to locate a table for the description , which the best I can thnik is pulling from SWWWIHEAD referencing the task as WS...
Would pulling from SWD_HEADER wtith the active flag set give me a correct listing ?
Thanks,
Jagruti -
How to create activity workflow based on the Web API 2 services
Hi,
We have Web API 2 services and we want create activity workflow based on the Web API 2 services.
Web API 2 services provide some application operations and based on this operations we would like to create custom activity workflow.
Question:
Is that possible?
Could you please give best practices to create activity workflow based on the Web API 2 services ?
Thanks for your support.HI Max_P,
Welcome to workflow forum.
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
I researched relevant topic about creating workflow application using Web API 2, I just found these resources about it.
Learn About ASP.NET Web API
Hope it helps.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to find the active workflows in the system
Hi,
we are going for upgrade, we want to find out the active workflows in the system
please guide me, how to find the active workflows in the system
is there any standard table to find the active workflows in the system
please suggest me the step by step process to find the active workflows.
thanks,
chandraWelcome to the Forums.
Please go through the FAQ of the Forum.
You has posted your query in the wrong Forum, this one is dedicated to Oracle Forms.
Please try {forum:id=1050}.
Regards, -
Activating Workflow Purchase Order Material Management:
Hi:
I am working in the Workflow for Purchaser Order.
Actually I have to notify when an Order have been created.
I am using the BUS2012 and also using as basis the Workflow WS20000075.
My problem is that I pre-configured Workflow in the transaction SWU3 and everything is OK.
And I activated the WF in the transaction SWDD in the start events:
Category: Object Type: Event of the object:
BO BUS2012 RELEASESTEPCREATED
And every time that I am creating a new Purchaser Order the Workflow automatic deactivated, and I have to activate this again manually.
Is there any way to avoid the deactivating?
Or Are there any way obligate the Workflow always been active?
Thanks a lot for the help
Best Regards.
JessicaHi eveybody:
Thanks for your help. I have two possible solutions. Can you tell me what do you think about these?
I entered to the transaction SM21 and check the logs. I found the following:
The enqueue lock for the work item, which was set by the who has been invalidated by the execution of an application met Business Workflow. This problem only occurs when the function DEQUEUE_ALL is called within the application method. The who runtime system consequently has an inconsistent status. The symptoms can arise:Work items have the status COMPLETED although the completin received and processed. The workflow container has an undefined status Deadlocks occurs in the workflow database tables
So, We need to aplicate a note, and the basis is working on that.
While the basis is working on that I used the transaction SWEQADM, in basic data I change the information of the receiver error feedback to: Do not change linkage, and now is working, the WF is not deactivating with this.
Actually I hope that the note help me, and I can put instead of do not change linkage, the standard Deactivation of linkage.
What do you think about it?
Thanks a lot.
Best Regards -
Reg : Short Dump While Activating Workflow
Hi All,
This morning I added a condition step in my workflow and created two custom methods in the corresponding BO and used them in the task. Initially when i made the changes in the workflow and tested it, it was working fine. But after sometime, when I did the necessary binding and tried to activate the workflow, the workflow started resulting in short dump.
Below is the dump analysis.
SAPSQL_ARRAY_INSERT_DUPREC
The ABAP/4 Open SQL array insert results in duplicate database records.
000310 L_OTYPE EQ ORG_OBJTYPE_WORKFLOW.
000320 LOOP AT ACT_LINES.
000330 MOVE-CORRESPONDING ACT_WFDKEY TO ACT_LINES.
000340 MOVE ACT_CLIENT TO ACT_LINES-CLIENT.
000350 MODIFY ACT_LINES.
000360 ENDLOOP.
000370 ELSE.
000380 MESSAGE E280 WITH L_OTYPE RAISING INVALID_OBJECT_TYPE.
000390 ENDIF.
000400
000410 *- insert lines table
------> INSERT SWD_LINES CLIENT SPECIFIED FROM TABLE ACT_LINES.
000430 IF SY-SUBRC NE 0.
000440 MESSAGE E281 WITH SY-SUBRC 'SWD_LINES'
000450 RAISING INTERNAL_DATABASE_ERROR.
000460 ENDIF.
000470
000480 *- commit
000490 IF DO_COMMIT NE ' '.
000500 COMMIT WORK.
000510 ENDIF.
000520
000530 ENDFUNCTION.
I tried searching sdn. But all other posts were related to passing entries from internal table to DB. Also I'm not even sure if i can raise a OSS, because a few minutes back the system was working fine and all of sudden this started happening.
So can you please guide me what I am missing and how can i fix this?
Thanks & Regards,
RajHi Rick,
When I get acitvate the workflow, the workflow template is gettign active & saved and after that the system results into short dump. And also when i try creating a PR and test this workflow, in SWEL, i can see the below message in RFC status field.
The ABAP/4 Open SQL array insert results in duplicate database records..
I haven't done any duplicate binding. Also I checked what you suggested. Didn't work. Also checked my newly added code. But I'm not accessing database directly anywhere. All is done via SAP standard function module.
Even if i try to display this workflow in PFTC, the system is resulting in the same short dump.
What could be the reason?
Regards,
Raj
Edited by: Raj Karunanidhi on Feb 23, 2010 5:30 AM -
SOAP web-activity workflow step
Hello,
I want to start a function of an external application via ECC6 SOAP-message. The generated XML should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<namesp1:writeLog xmlns:namesp1="Project/SAP/Response"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Therefore I put an web-activity step into my workflow. SAP generated the container
- SoapMethodName
- SoapMethodNsPrefix
- SoapMethodNsValue
- SoapMethodAttributes
- SoapHeader
- SoapParameterExtension
At the moment I marked them as import- and exportparameter and defined the following initial values:
- SoapMethodName => writeLog
- SoapMethodNsPrefix => namesp1
- SoapMethodNsValue => Project/SAP/Response
I ran the workflow-test and got this results:
- [Workflow|http://img291.imageshack.us/img291/738/soapworkflowyk5.jpg]
- [Test|http://img131.imageshack.us/img131/4003/soapworkflowtestft6.jpg]
- [Log|http://img383.imageshack.us/img383/5776/soapworkflowlogwi0.jpg]
Can someone take me by the hand for configurating the workflow-step correctly?
Regards
DanielHello Daniel,
I am developing a web activity step, but it is not working, and i cannot find where the problem is.
Could you be kind enough to help me?
I have the following WS published in another system
- http://10.10.1.131:9080/TestSapProcess/TestSapServices/TestSapUsernamePort?wsdl
I want to know which data should go in these parameters:
First:
SoapMethodName => ?
SoapMethodNsPrefix => ?
SoapMethodNsValue => ?
I put in the address URL from expression -> http://10.10.1.131:9080/TestSapProcess/TestSapServices/TestSapUsernamePort
Hope you can help me,
Pablo -
Shortdump while activating workflow - SWD_STORE_WF_CONDITION
Hi guys,
I have created a workflow, which I already managed to activate in an earlier version.
Now I made some minor changes and I get a short dump when trying to activate the new version:
Procedure "SWD_STORE_WF_CONDITION" "(FUNCTION)", nor was it propagated by a
RAISING clause.
When I looked in the debugger, I found the last condition I have inserted in the workflow. So I simply tried to cut this condition out and tried to activate again. Then I got the same shortdump while activating. This time the debugger contained a different condition in the workflow (an older one, which has been in there in a previous active version).
Coulnd´t find an OSS note for that problem.
If anyone has experienced and solved that problem, it was very kind of you to help me.
Thanks.
HolgerHi Steffen,
thanks for your advice.
I really would like to try it, but I think I have found a workaround by myself, so I`ll rather not mess with the workflow now.
Background:
I have originally imported the workflow via XML file, and after successfully activating it, I realized that all loops had no abort conditions anymore. Interesting that it was possible to activate the workflow at all!
So what I did was, I defined the abort conditions in the loop-steps in addition to inserting one sub-WF and a condition.
Then I tried to activate: Shortdump. Thats why I first thought the new condition caused the problem.
I managed to get back the already active version from the Test-system and defined the abort condition of one of the loops. Activate: Shortdump! So the WF had a problem with the changed loop and its abort condition.
My workaround is simply, that I inserted new loop-steps with the correct abort conditions and deleted all the faulty loops.
Now it works.
Next time I will try block correction first.
Thanks for your answer! -
Activating Workflow for Change Documents
Hi
I am working in cProjects 4.0 on ECC6.
I am working on the scenario of automatic email generation when change document is created for project element.
I have used sample workflow WS28700006 and following settings have been made :
1. Make the required settings in the SAP menu under Tools → Business Workflow →
Development → Definition Tools → Events → Event Creation → Change Documents
→
a. Overview (transaction SCDO)
Enter DPR_PROJECTS in the table.
b. Define Workflow Properties (transaction SWED)
Enter the following data:
Change document object DPR_PROJECT
Leading table in change document DPR_PROJECT
Change document key with structure DPR_PROJECT
Action: Change X
Structure DPR_TS_BUSINESS_OBJECT_KEY
Function module BAPI_BUS2175_OBJECT_KEY_SET
c. Linkage (transaction SWEC)
Enter the following data:
Change document DPR_PROJECT
Object category BOR object type
Business object type BUS2175
Event CHANGED
On change X
In cProjects I have I have attached word document, and another user changed it and changed document again checked in again with overwriting the old one.
But no workflow triggerd. In SWI1 transaction I cannot see any workflow triggered.
Is there any problem with workflow and process or changing document in cProjects is not write ????
Can someone help ????
Regards,
Niraj SikligarHi Niraj,
Please ensure that you have made IMG setting for cProjects > Basic Settings>'Activate Change Documents'.
'Change Documents' means that any change in the Project Objects will be recorded, and not the changes in the documents that have been attached.
I am not too sure about the workflow settings that you have made, but just try with the img activity that I've mentioned. You can test the same by making some changes in Project ( for eg change the Project Status) and save it.
Let me know if it helps.
Regards,
Vivek Pandey -
Override Default Page Activation Workflow
Hello,
I am trying to override the default handling of Authors requesting page activations. By default, an Author that doesn’t have Replication privileges has the request sent to the Admin group. We’ve created several workflows specifically for different groups since each has their own approval flow:
CQ User Group CQ Workflow
Consumer >> Consumer Approval Workflow
eCRM >> Consumer Approval Workflow
Business >> Business Approval Workflow
I realize the Author could select the workflow from the Sidekick, but I need ot ensure the correct workflow is assigned if they simply click “Activate” from the Sidekick or the Site Admin (Websites) page. What’s the best way to accomplish this – writing some sort of servlet, using the Dynamic Participant Step, something else? The logic would be fairly straight forward – on activation request, check user group and assign page to pre-defined workflow and initiate.You can set this in version 5.1.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"anil" <[email protected]> wrote in message
news:399aba85$[email protected]..
How we can override default error page (404) in WebLogic ver 4.5.1 ? Wehave already set property weblogic.httpd.errorPage.404=URL in
weblogic.properties file , but it is not working with 4.5.1
>
We would like to have solution in properties setting, because changing thecode is not possible
>
Thanks in Advance
anil -
Activating "Workflow can use app permission"
HI,
I am trying to activate the "Workflow can use app Permissions".
I am getting the error "System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied. "
The user is part of the SiteCollectionAdministrators.
What other permissions are required to activate the feature?
ThanksNo I don't think you have to configure the App Domain to use workflows.
Do you also have a User Profile Service (preferably with User Profile Sync) up and running? 2013 workflows (like Apps) use properties in the User Profile to pass identity back and forth. If you are going to run using App Permissions the workflow
service is still going to want to be able to identify the initiator of the workflow. For that you need User Profiles.
Also, is your user just a Site Collection Admin or are they an actual member of the Site Owner's group? Its not clear from the documentation whether activating that feature is a permission dependency or an actual group membership dependency.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Maybe you are looking for
-
How to create a system tablespace as locally manged in 8.1.7
After a good time looking for it I still haven't found an example of how to create a database with the system tablespace as locally managed in release 8.1.7 I'm trying this, that isn't OK at all: create database CSR character set "WE8ISO8859P15" data
-
Not able to print full pages via wireless
Hello, I am looking for some assistance to troubleshoot an issue I am having printing from a computer using wireless to my wireless connected HP Officejet 4632. When I open a .pdf, for example, on a PC that is hardwired into my router, I can print th
-
Inter applet network communication
Hi Is this senario possible? Webserver W provides the applet A to two browser clients at two different IP addresses. The applets now instanciated are informed about the direct IP address of oneanother. Then the webserver is stopped. Can the applets n
-
Time Machine doing strange things
Hi folks, So I recently upgraded my hard drive, and restored from my Time Machine backup and everything came back just as it was, which was great. However, now I am having some serious Time Machine issues. It deleted all of my old backups, which I
-
Visio 2013 Default Line and Connector Styles
This question has been asked previously, but the answer is not sufficient. In the older versions of Visio, all you had to do was right-click and select the "set as default" option to set the default style for lines/connectors/shapes. Where is this op