Cancelling workflow in sourcing7
Hi,
I am using sourcing 7. My question is, how do I cancel a workflow? I do not see Workflow Definitions -> Current Workflow Processes in sourcing 7.
Scenario: Contract document is submitted for approval. Approvers receive an email to take necessary action on the document.
System admin logs in and wants to cancel the workflow. After this the Approvers should not see the pending action item and contract document status will move back to previous phase.
Appreciate any help.
Regards
Moumita
Hi Palz & Moumita,
In our landscape we have enabled cancel on Contract Document screen with following option
1) Copy the standard report for cancelling Workflow and create one restricted to the current Contract Document (This can be done with a hidden filter) - Note for this type of query to work, a new Query group has to be created for Contract Document since the hidden filter would be of Object Picker type
2) Create a new report for the custom query
3) Add this report to the "Document Report Configuration" for Contract Document
To Cancel the workflow -
1) Open the Contract Document in Workflow
2) Go to Reports on Contract Document toolbar and run the report to cancel Workflow
3) New pop up window opens with option to Cancel the Workflow
Regards,
Balaji
Similar Messages
-
Hello SRM Gurus,
We have a business requirement when purchaser cancel PO due to some reason it should go to his manager for approval. So my question is that is it possible to configure PO cancellation workflow (extnded classic). If yes how can we do it ?
Thanks,
PrashantHi Prashant,
I do not see why it couldn't be possible to trigger a 1 step WF in case of PO cancellation.
In the criterai, you should be able to use the PO item status (cancelled) to drive your WF requirement.
Kind regards,
Yann -
Cancel Workflow Button - Custom OA Page
Hi, I tried searching for this, but didn't find anything.
Is it possible to implement Cancel workflow process Button in Custom OA Page? If yes, some help would be much appreciated
Thanks
Ved.Hi,
Please elaborate your requirement...
If you want a button who will submit a Concurrent prgram for WorkFlow Cancellation then you can do it
using OracleCallableStatement.
Thanks,
Gaurav -
LSO Cancellation Workflow issue???
Hi Experts,
I have copied the standard LSO Cancellation Workflow WS12000004, whenever i cancel the course in the portal the workflow is triggering and generating 2 parallel work items of Time Dependent Sub workflow . There is no fork in the main workflow even though its generating the same sub workflow parallel. But as per my requirement the sub workflow need to generate once... How can i achieve this???
Thanks,
SrikagThanks for your reply...
Whenever the event is triggering only one workflow is trigerring but its generating 2 same work items parllely, but i am not sure why its happening... Inside the workflow there is a condition based on that it will choose the path as Time dependent or Time independent course these both are 2 different sub workflows... Time dependent sub workflow is trigerring twice...
I have checked the configuration in that they maintained the same workflow twice for different courses... Do you think this will be the problem...? If so 2 times the same workflow should trigger but in our case only one time workflow is trigerring but its generating the 2 same work items parllely...
thanks,
Srikag -
How to cancel workflow programmatically in sandbox environment
Hi,
I have 3 workflows asscociated to a form library in our sandbox environment. Is it possible to cancel the running workflows / mark the status to cancelled for overall workflows and respective tasks programmatically rather than
using Designer or powershell or some windows timer job. Since it is a sandbox environment, i'm can't use SPWorkflowManager. Any ideas?
smithHi,
I have 3 workflows asscociated to a form library in our sandbox environment. Is it possible to cancel the running workflows / mark the status to cancelled for overall workflows and respective tasks programmatically rather than
using Designer or powershell or some windows timer job. Since it is a sandbox environment, i'm can't use SPWorkflowManager. Any ideas?
smith -
Leave Cancellation Workflow - WS01000109
Hey SAPiians,
We have implemented the "Cancel Leave" service on the ESS at the client's end. We have already implemented and tested the service for "Leave Requests" using workflow "WS12300111".
Now i have the following questions:
1. Can the same workflow be used for "Cancellation of leave" ??
If yes, are the necessary deletions performed from the respective
infotypes ??
2. Can the workflow WS01000109 (Cancel Leave Request) be used for the
same purpose ?? Where do i need to put the Workflow id in the
config ??
Here is what we did...
1. We made a copy of the workflow WS01000109 (Cancel Leave Request) and did the expected activations in workflow wherever required.
2. In transaction PTARQ under CUSTOMIZING -> Service-Specific Settings -> Working Time -> Leave Request -> Processing Processes -> Specify Processing Processes for Types of Leave -> Define Absences/Processing Processes, we put this workflow id in the section "Workflow Template" in the cancellation request input box.
3. We then tested the scenario by raising a request. However, the request gets deleted without any approval and also no workitem is created in SWIA.
Is there any other setting which needs to be done to activate the workflow ??
Please guide.
Thanks,
Shashankhi Shashank
Use only WS12300111 workflow template for delete,change and applying leave. Am using the same standard workflow for all the three cases its works fine. No need to worry about infotype. If you tag your workflow in cancellation request work item will go to the approver if he approves then run the post documetn which will convert from status approved to posted in tabel PTARQ_HEADER then go to t-code PA30 type the employee number and infotype 2001 and check the overview you can find the type of leave applied and date and all details.
Regards
vijay -
Hey SAPiians,
We have implemented the "Cancel Leave" service on the ESS at the client's end. We have already implemented and tested the service for "Leave Requests" using workflow "WS12300111".
Now i have the following questions:
1. Can the same workflow be used for "Cancellation of leave" ??
If yes, are the necessary deletions performed from the respective
infotypes ??
2. Can the workflow WS01000109 (Cancel Leave Request) be used for the
same purpose ?? Where do i need to put the Workflow id in the
config ??
Here is what we did...
1. We made a copy of the workflow WS01000109 (Cancel Leave Request) and did the expected activations in workflow wherever required.
2. In transaction PTARQ under CUSTOMIZING -> Service-Specific Settings -> Working Time -> Leave Request -> Processing Processes -> Specify Processing Processes for Types of Leave -> Define Absences/Processing Processes, we put this workflow id in the section "Workflow Template" in the cancellation request input box.
3. We then tested the scenario by raising a request. However, the request gets deleted without any approval and also no workitem is created in SWIA.
Is there any other setting which needs to be done to activate the workflow ??
Please guide.
Thanks,
ShashankThere is no standard Workflow triggered when the Approved leave request
has been deleted by the employee!
This step should be configured by the customers as when to trigger a
mail to the Admin or Supervisor, when deletion or cancellation happens.
The workflow template is a simple template you can modify
to suit their needs.
The note 878916 is to make work flow enable to handle the case of
withdrawn request which are not posted. After implementing this note
all you need to do is insert an email step in the withdrawal path and
this will trigger an email to the approver informing that leave request
has been deleted by the employee.
Please read the note as ot lists the steps -
Cancelling notification from Mailer notification workflow
Hi,
can a notification be cancelled from Mailer notification workflow based on item_key or notification_id?
thanks,
Durgacan a notification be cancelled from Mailer notification workflow based on item_key or notification_id?yes,
Workflow Adminstrator --> Status Monitor --> Provide 'Internal Name'(check wf_notification table to get it against nid) and Item Key
Click workflow Detail tab and if workflow is active then you will see cancel workflow tab at bottom left.
Thanks,
JD -
Problem in initiating Leave Cancelletion workflow
Hi All...
When i try to initiate a Leave cancellation workflow using PT_ARQ_REQUEST_EXECUTE Bapi in webdynpro java,
i get an error as follows
"No Customizing for status type ARQ, status POSTED, and transition event DELETE"
This error occurs only in case of Posted leave requests.
Could anyone please tell me what can i do to resolve this problem.
Thanks in advance
AshaHi Anup..
was able to get rid of the previous error..
Thank u very much.
But m facing another error now while executing the same bapi.
Error ID: HRTIM_ABS_REQ
Error message: "Unable to send the request with this approver".
I checked the ORG chart, the approvers are maintained and also there is no
import parameter available for approvers to be set in this bapi.(PT_ARQ_REQUEST_EXECUTE).
is there any setting to be checked?
Could you pls tell me what might the problem?
Regards
Asha -
Error auto-firing an approval workflow inside a project's workspace
Hi all,
I have activated the SS2010 Workflow in PWA site collection features in order to use an approval workflow in one of my project's workspace. I setup the workflow under "Project Documents" and select to auto-start upon an item's creation. However this doesn't happen and I always get an eventreceiver exception in Event log. It works as expected when I fire it manually. I am connected as the system account.
Is this a known issue or is the log correct stating that a system account cannot trigger a workflow autostart (below)???
Event log details:
Error loading and running event receiver Microsoft.Office.Project.PWA.WSSEventReceivers.PSDBUpdater in Microsoft.Office.Project.Server.PWA,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c. Additional information is below.
: Value cannot be null.
Parameter name: s
ULS related lines:
02/28/2010 23:55:04.38 w3wp.exe (0x071C) 0x15DC SharePoint Foundation Workflow Infrastructure b9vu Unexpected Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: %s, Item Id: %d, Workflow Association Id: %s
02/28/2010 23:55:04.62 w3wp.exe (0x071C) 0x15DC SharePoint Foundation General 6875 Critical Error loading and running event receiver Microsoft.Office.Project.PWA.WSSEventReceivers.PSDBUpdater in Microsoft.Office.Project.Server.PWA,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c. Additional information is below. : Value cannot be null. Parameter name: s
TIA,
TassosTassos:
You might have better response to this question here:
http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads
Gary Chefetz, MCITP, MCP, MVP msProjectExperts
Project and Project ServerFAQs
Project Server Help BLOG -
Leave Cancellation Approval is not triggered
Hi Frnds,
The leave cancellation workflow which is configured in IMG is not triggered for leave request with status APPROVED or SENT excluding the status u201CPOSTEDu201D.
IMG Configuration for workflow:
1) WS12300111 u2013 New Request
2) WS99900053 (Copied from WS12300111) u2013 Cancellation Request
Example:
New Request - Triggers WS12300111 for approval
Fully Approved - Use WS12300111 for approval routing
Cancelled the fully approved request - WS12300111 (but it should be WS99900053)
Can anyone help me out with the solution?
Thanks,
Suganya1. Leave Cancellation WF is triggered only for cancellation of posted documents.
-
Stop and Restart Workflow on Item Edit (sharepoint online)
How can I stop running the workflow instances for the current updated list item?
I mean, how can I recognize the item that just updated and how can I stop the workflow
that access with this item? in s.p online.
thank you!Hi,
According to your post, my understanding is that you wanted to cancel workflow in SharePoint online.
We can pass the ID of the list & list item to get all the instances, then you can enumerate each of them and find the one you want to suspend or terminate.
To pass the ID of the list and list item, you can refer to the following code snippets.
// connect to the workflow services via a CSOM client context
var clientContext = new ClientContext(siteCollectionUrl);
var workflowServicesManager = new WorkflowServicesManager(clientContext, clientContext.Web);
// connect to the instance service
var workflowInstanceService = workflowServicesManager.GetWorkflowInstanceService();
// get all instances
var workflowInstances = workflowInstanceService.EnumerateInstancesForListItem(listId, listItemId);
clientContext.Load(workflowInstances);
clientContext.ExecuteQuery();
Then we can find the list item workflow to suspend as below.
foreach (var instance in workflowInstances)
// is this what we are looking for?
// if so, suspend it
workflowInstanceService.SuspendWorkflow(instance);
// or you can terminate it
workflowInstanceService.TerminateWorkflow(instance);
http://sharepoint.stackexchange.com/questions/69366/how-do-we-stop-a-sharepoint-2013-workflow-azure-workflow-programmatically
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Document library with one document which has 2 workflows
We have a document library and for one document we have 2 workflows. One canceled and one running. The running is a previous version. How could we delete the actual cancel workflow that we see in the library the previous workflow which is still running?
Hi,
Please refer to the following articles.
Cancel or terminate a workflow instance (SharePoint Server 2010)
http://technet.microsoft.com/en-in/library/cc298693(v=office.14).aspx
Remove a workflow association (SharePoint Server 2010)
http://technet.microsoft.com/en-in/library/cc262779(v=office.14).aspx
Please mark it answered, if your problem resolved or helpful. -
Prevent editing whilst workflow in progress
Hi
I'm using SPD Approval workflow. Whilst in progress it is possible to edit the document which isnt desirable as if there are a number of approvers they could approve various versions.
One option is to cancel the workflow if document edited (using checkbox option supplied), but this edit could be acidental and the workflow would need restarting.
Is there a a way to prevent editing to the document whilst workflow in progress or is there a good reason to cancel workflow upon edit?
Thanks in advance.Hi ,
According to your description, my understanding is that you don’t want other people to edit the document when the workflow is in progress.
You use SharePoint Designer to customize the task process to lock them out upon starting and give them rights again upon rejection and completion.
More information, please refer to the link below:
http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
Here is a similar post for your reference:
http://social.msdn.microsoft.com/Forums/en-US/124138ca-8681-4bda-adc5-4df903a52e13/restrict-editingdeleting-item-when-approval-workflow-is-in-progress
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Hi ,
I have very strange problem .Only in one site collection across the farm i am getting this error while starting OOTB workflow in list. Everywhere else it works, even another site collection within same web application. I have stopped and restarted all the
work flow feature but still same issue?
sachinErrors in ULS logs
Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: %s, Item Id: %d, Workflow Association
Id: %s
RunWorkflow: Microsoft.SharePoint.SPException: User cannot be found.
at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime&
lastModified)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid)
at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)
at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association)
at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)
at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)
at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)
Microsoft.SharePoint.SPException: User cannot be found.
at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime&
lastModified)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb)
at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid)
at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)
at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association)
at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)
at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)
at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)
The emailenable value is true. And it just does not work for one site collection. It should not be regarding any hot fix.
Thank you for your suggestions and time. I will dig up further.
sachin
Maybe you are looking for
-
How do I transfer a gift card balance to family members in family share
Ok well I just realized that the account associated with my Family share will only access my credit card and not my gift card balance. I had two $100 gift cards which I redeemed into my account thinking we could all share the gift card. Little did I
-
Real instruments - recording/input levels
...when i am recording real instruments, the input level and recording level are inaccessible. i click on them with the mouse, but nothing happens. are they preset? non-adjustable? i can adjust the playback volume, of course, as well as other paramet
-
Finder download from afp server failed one file larger than 2Gb
I am using 10.5.1 on iMac. I guess this shouldn't be a problem. I download a file from university's afp server, but fails when if has downloaded 2GB (the file is larger than 2GB) with error code 1309. Does anyone know how to solve this problem? Thank
-
How to create a JBOD without formatting one of the hard drives
Hi, I'm using a QWC Mercury Elite Pro external hard drive with 2 500Gb hard disks as my video scratch disk. I have configured them as 2 separate disks and been using CCC to copy the 1st drives content to 2nd drive. Now, the 1st drive is almost full.
-
BUG - Powershell/PSExec - Missing Information outside ISE
I´m affected of this Bug in Powershell/PSExec http://stackoverflow.com/questions/22593651/powershell-psexec-job Executing powershell script and execute for example ping/tracert/iperf via psexec on remote-hosts is working very well. In ISE I see all