Workflow Tasks

I need to create a task with the participants being a group.  The group can contain 1...n people and is assigned via a library column (ie.. mylib:mygroup1). 
In pseudo code:
Stage1
assign task to group
Loop until outcome = reject or (task has been approved by all participants)
If outcome = reject
 complete all users tasks which are still open
goto end workflow
else
goto next stage
It doesn't get much simpler than this. So I was surprised I can't seem to find values in the Workflow Tasks datasource to utilize.  Outcome is there but percent complete only returns 1.  I can't check "wait for task completion" since
none of the choices seem to be able to fulfill this logic. I've seen solutions in 2010 where they mined the number of participants and then the number who've reponded. Can't find that for 2013.
Any thoughts would be appreciated.
Thanks.
Tom

Hi,
According to your post, my understanding is that you had an issue about the workflow task.
Did you mean you want to achieve the below scenario?
When one of the participants reject the workflow, then end the workflow, and all the user’s tasks closed.
In the Start  a Task Process action, under the Task Options, we can select the
Wait for specific response, then in the Required Outcome option select the
Rejected as below.
Then when one of the participants reject the task, the workflow would be rejected, and all the user’s tasks closed.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • Workflow task list is missing or damaged. SharePoint 2010

    SharePOint 2010 Enterprise
    Customer created workflows for the annual review of our QPC Emergency Plan.
    The document library  shows that there is a EP_Review workflow “In Progress” for each section.   However if you click into the “In Progress” link to see the actual progress of the workflow it shows no Visio diagram, it’s just a blank white
    space (not even an error message) and under the Tasks section it gives the message:
      "The workflow task list is missing or damaged.  Please contact your administrator for more information"
    I looked in the Task List and there are no tasks showing, which normally does show when we kick off a workflow. 
    I ran a report on the EP_Review workflow for Cancellations and Error messages and the system comes back with the following error message:  "Report contains no Data"
    Log says:
    3/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)) 
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Name=Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Site=/sites/Compliance eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.70  w3wp.exe (SLSPW02:0x8DC0)                0x8418 Document Management Server     Document Management          
     52od Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c]. 
    Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3) level for this list. eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.75  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=32.1239873194787 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.78  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Server              OpenXml                      
     0000 Medium OfficePackageLibrary::OpenPackage(app=3, path=C:\Users\TEMP\AppData\Local\Temp\tmpBAE2.tmp, fcm=3) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData#2). Execution Time=10.6167606926937 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Runtime                      
     tkau Unexpected Microsoft.Office.RecordsManagement.Reporting.ReportEmptyException: Report contains no data.    at Microsoft.Office.RecordsManagement.Reporting.ApplicationPages.CustomizeReport.OKBtn_Click(Object sender, EventArgs
    e)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
    sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly Medium Leaving Monitored Scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)).
    Execution Time=131.764628890724 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Topology                     
     e5mb Medium WcfReceiveRequest: LocalAddress: 'http://slspa02.corp.questar.com:32843/5d041280466646db9f816a170ae8f6b8/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
    MessageId: 'urn:uuid:8f54c63f-a3d4-4180-b9be-2eefe9ff3495' 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (ExecuteWcfServerOperation) 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)
    Any Ideas how I can figure out how to resolve this?
    Thanks for any input

    Hi mikeatquestar,
    it seems you may need to check if should the task able to create at your environement,
    you may try this at your development environment first:
    Saved a task list as a template from a working site collection and moved the template to the problem site collection. Used this template to create a new list, and associated this list to the Workflows task list.
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-list-templates-HA010099156.aspx#BMcreate
    http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Workflow Tasks NOT expiring!

    Hi guys,
    I've bumped lately with an issue building a workflow on SP2010, as you mostly already have figured out from the title, workflow tasks are NOT expiring.
    I've tried to take this on my own, but no more as I have to move on. Here's the details;
    -a custom workflow (attached to a custom list) that has start custom task as its first action.
    -due date for custom task is set in "select task process participants", Due Date for Task Process. and is set to run parallel (I have one participant for the task).
    -the custom task have only the "behavior of a single task" configured, all task workflow steps are there.
    When a Task is Pending fires well, and it ends with Pause for 2 minutes > then send email. then task due date reaches but
    When a Task Expires never kicks! tasks simply stays at status "Not Started"
    when I check the workflow history, it shows the last log "pausing completed", but I suspect the main issue is with the task processor, task isn't expiring and im not sure where to look.
    timer job service is working, I've checked timer jobs (workflow auto cleanup, workflow failover and bulk workflow task processing) and they're all running in timely fashion now.
    any thoughts?
    thanks
    If a reply helps you Vote As Helpful, if a reply solves your problem don't forget to Mark As Answer. Aabed Yassine.

    hi Victoria,
    running the above code in a PS1 file throws:
    The term 'http://portal.xx' is not recognized as the name of a cmdlet,
    function, script file, or operable program. Check the spelling of the name, or
    if a path was included, verify that the path is correct and try again.
    At C:\Users\spadmin\Desktop\Get-TimeZone.ps1:2 char:70
    + $site=new-object Microsoft.SharePoint.SPSite(portal.xx<<<< );
        + CategoryInfo          : ObjectNotFound: (portal.xx:String
       ) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Get-SPServiceContext : Cannot bind argument to parameter 'Site' because it is n
    ull.
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:3 char:39
    + $serviceContext = Get-SPServiceContext <<<<  $site;
        + CategoryInfo          : InvalidData: (:) [Get-SPServiceContext], Paramet
       erBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
       icrosoft.SharePoint.PowerShell.SPCmdletGetServiceContext
    You cannot call a method on a null-valued expression.
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:4 char:14
    + $site.Dispose <<<< ();
        + CategoryInfo          : InvalidOperation: (Dispose:String) [], RuntimeEx
       ception
        + FullyQualifiedErrorId : InvokeMethodOnNull
    New-Object : Exception calling ".ctor" with "0" argument(s): "Value cannot be n
    ull.
    Parameter name: serviceContext"
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:5 char:18
    + $upm = new-object <<<<  Microsoft.Office.Server.UserProfiles.UserProfileManag
    er($serviceContext);
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvoca
       tionException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
       Shell.Commands.NewObjectCommand
    i'm not sure what are the variables in this code, I've change the site collection URL and domain\user. anything else I should edit?
    If a reply helps you Vote As Helpful, if a reply solves your problem Mark As Answer. Its made to make it helpful for others seeking help.

  • How to reassign a workflow task in SharePoint 2013?

    How can you reassign a workflow task in SharePoint 2013 (online)? I found some discussions online about how to do this, but I don't see this option using SP2013. Note the "Reassignment" checkbox from this screenshot (which I think is from 2010).

    Here is the link
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fac7eb06-c42e-4f45-bcda-10df28879c1f/in-sharepoint-2013-workflows-can-a-task-be-reassigned?forum=sharepointgeneral
    Thanks!

  • How to set a custom column in a workflow task.

    Hello,
    I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
    I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
    with Content Type 2, starts and has the same column Age, as Task1.
    How can I populate the Age column in Task2 with the content of the Age column in Task1?
    Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
    with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
    The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    Is there a better approach? I use SharePoint Designer 2013 to design all this.
    Any assistance is appreciated.
    Thank you.

    Hello Sebastian,
    you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
    You can perform below steps to set Age column from Task 1 to Task 2.
    1.  Create Task 1 using Assign a task , wait till the task is completed.
    2. Get the Age column value based on Task 1 once the task is completed.
    3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
    4. Update the Task 2 with Age column in Task1.
    5. Use Wait for the field to equal value , check for Task Status is completed or not.
    >>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    you can get the related item from task list item to get the main list item.
    Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Error in transporting WF workflow task

    Hello,
    I face an error when moving WF workflow task from Dev to QA.
    System is 4.0B.
    The QA transport log shows (errors in bold):
    Subsequent processing RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDWS T started at 20:23:01
    Time... 20:23:02       Run time... 00:00:01
    Start activation of object WF 91000095 (client: 100) 202302
    <b>Error while activating</b>
    Time... 20:24:00       Run time... 00:00:58
    <b>Errors occurred during post-handling RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDWS T</b>
    Post-handling RH_ACTIVATE_PDOBJECT_AFTER_IMP belongs to development class SP00
    <b>The errors affect the following R/3 components:</b>
       <b>BC-BMT-OM (Organizational Management)</b>
    In QA, the new version of the WF - created and activated in Dev - does not appear at all. I checked OSS Note 138411 - Collective note: PD Transports and OSS Note 88180 - Error during import postprocessing (Org.unit) but they didn`t help.
    In Dev, the new version of the WF was saved and activated and manually inserted in a customizing request from tr. PFTC. The transport included object <b>R3TR TDAT PDWS</b> with entries for HRP, HRT and SWD_* tables, with records for the WF task.
    Any help would be appreciated.
    Thanks and regards,
    Krisztian

    Hi Ravi,
    WS and TS tasks are recorded in changes, only the WFs and Ts are not. This is because some Personal Development objects are not to be transported, hence automatic transport connection for these is deactivated in IMG. Since WFs and Ts are considered as PD objects, the automatic transport is deactivated for them as well. For WFs and Ts manual transport is available in PFTC.
    This is unfortunate but this is how it`s set.
    On the other hand, version management is not something that works too well for workflows anyway (at least in 4.0B). You can`t see the differences in two separate versions like you would in a program. And in WFs and Ts you are able to generate versions just like for WSs and TSs for version management. So from my point of view manually transporting WFs and Ts are not the issue. But I may be wrong...
    Nevertheless I activated automatic transport connection and did a change in Dev like that. The transport created was moved to Acc, but still same problem...
    So I`m running out of clues.. maybe I just overlooked something...
    Thanks
    Krisz

  • SharePoint 2013 workflow task gets canceled

    Just wanted to share my solution to a problem that I was having when creating a SharePoint 2013 Workflow that includes creating a task and assigning it to a group of people. After publishing the workflow and initiating it you get:
    Retrying last request. Next attempt scheduled in less than one minute.
    Microsoft.SharePoint.Client.ResourceNotFoundException: Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals
    An unhandled exception occurred during the execution of the workflow instance.
      Exception details: System.ApplicationException: HTTP 404 {"error":{"code":"-1, Microsoft.SharePoint.Client.ResourceNotFoundException",
      "message":{"lang":"en-US","value":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals."},
      "innererror":{"message":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals.",
      "type":"Microsoft.SharePoint.Client.ResourceNotFoundException","stacktrace":" at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream, IList`1 pendingDisposableContainer)"}}
      } {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["46"]
      ,"SPRequestGuid":["624f66f8-a70c-81db-bf0d-c042443f5435"],"request-id":["624f66f8-a70c-81db-bf0d-c042443f5435"],
      "X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],
      "X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 06 Apr 2015 22:17:23 GMT"],
      "Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at
      Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at
       System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
       System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I was not able to find any answer anywhere, so my solution was:
    1. Simply upgrade SharePoint Server 2013 to the latest version which in turn updates Microsoft.Activities.Proxy.dll
    2. Clear the SharePoint Designer cache
      Workflow Error - Sharepoint Designer cannot display the item
      http://community.office365.com/en-us/f/154/t/74327.aspx
    I hope this is helpful to somebody
    Thanks

    Hi Amit,
    According to your description, my understanding is that you want to approve workflow task using web service in SharePoint 2013.
    For troubleshooting this issue, please provide the more detailed code.
    Here are some similar posts, please check if they are useful:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b999a417-dce3-4590-9173-89aea91f23a3/complete-workflow-after-approving-all-tasks?forum=sharepointdevelopment
    http://www.sharepointblog.in/2013/07/programmatically-approvereject-task-in.html
    http://aarebrot.net/blog/2011/10/how-sloppiness-and-spworkflowtask-altertask-could-inadvertantly-lock-your-workflow-task/
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Related Item link is broken in DispForm.aspx for a task in Workflow Tasks list if file name contains " ' " (single quote)

    Description:
    We have created a custom workflow in Microsoft Visual Studio 2013 and SharePoint 2013. This Workflow is associated with a Document library.
    This Workflow starts as soon as any new item is created OR updated in Document library and creates a Task in Workflow Tasks list.
     Related Item link is not working in following scenario -
    Upload a file that contains “ ' “
    in its name, in a document library
    Navigate to Workflow Tasks list
    Open View Item form (DispForm.aspx ) of  Task Created by workflow then click on link in Related Item fields
    OUPUT:
    Related Item link  truncates after “ ' “
    Eg.
    Original Link: http://<Site URL>/Documents/te'st.txt
    Related Item Field: http://<Site URL>/Documents/te
    Is this known bug in SharePoint 2013 OR any hotfix available to fix it.

    Hi,
    As I tested per your description, I can reproduce the issue as well.
    From what I have found out, it seems SharePoint resolve single quote into different code in different place. During the test, if I set Task Name to Document Name, single quote will be resolved to &#39; , if I set some field to Document encoded URL, single
    quote will be resolved to %27 . For now, I haven't found out any article talking about this issue.
    As workaround, we may find out a way to change the Related Item field. However, it is OOB field in workflow task (SharePoint 2013) content type, and this content type cannot be modified in form.
    I'd suggest you add new column to get document url and place in the form in Task content type settings.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Workflow task on UWL does not open in new window

    Hi,
    Some of the workflow tasks in my UWL do not open up in a new window when i click on them. I notice that these tasks are not even hyperlinked (underlined). Instead, when i click on the line, a small pop up shows to options: Forward and Resubmit. Therefore i am not able to approve / reject these workitems.
    Whereas there are some other work items which open up in a new window on click.
    Is this problem related to workflow configuarion (perhaps enabling the WF for portal) or is it something to do with UWL configuration?
    Appreciate your help.
    thanks
    zubair

    Hi Paul,
    I face the same problem, any findings so far?
    Thanks!
    Best regards,
    Sandra

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Workflow task in "In Process"

    Hi all,
    I have a workflow task that stayed in the "In Process" state.  The task's method calls a function.  I don't know if the function had an error or what actually happened.  The function makes a call to a third party software(PRISM).  I have the task set to synchronous to wait for a return code. Does anyone know of a way to trouble shoot this.

    Yes, if you can reproduce it by calling the same method with the same inputs from transaction SWO1 (testing the BOR object type - or SE24 if it is a class). Then the debugging should reveal most of the information you need.
    I assume you are making an RFC call. In your function call you should, if it has not been done already, set up the special exceptions for RFC calls which will enable you to receive a returned error message in case of e.g. communications failure.

  • IDOC related to workflow task

    Is there any table or report which gives IDOC nos related to workflow task?

    Sreedevi, it depends what you want (where you start from), so please be more specific in your question next time (or if this doesn't answer your question).
    If you have a work item number and want to know the IDoc number you can use function module SAP_WAPI_OBJECTS_IN_WORKITEM to get a list of all object references. Then you have to process it from there. You can make a flexible solution which is compatible with future added IDoc types by checking the object type of each object returned and traversing the inheritance hierarchy until you get to object type IDOC. Then you know it is an IDoc, and you can find the IDoc number as the key of the object. Or you can hardcode supported object types using a CASE or IF statement. The flexible solution would be much more fun to program in my opinion.
    If you have an IDoc number and want to find work items you have to go the other way. That means starting with object type IDOC, finding all the inherited object types and for each of these using function module SAP_WAPI_WORKITEMS_TO_OBJECT. Again, another possibility is to hardcode the list of object types you want to check.
    The table Rose told you about, HRS1201, contains no IDoc numbers, but it contains all the tasks with the methods they use. So actually you can use that to find all the object types you need to check (whether they are inherited from IDOC), since all work items will refer to a task definition.

  • List workflow task details

    Hi all,<br>
    We're in the midst of evaluating oracle bpel pm 10.1.2 for our application. I had created an user task using jdeveloper bpel designer. Successfully tested the flow using bpel console and bpel worklist. I intended to develop a gui for displaying the task and task details using jsp pages. listTasks.jsp will display a list of tasks for a person. displayTask.jsp will allow that person to see the task details. Successfully implemented the listTasks.jsp with the following code:<br><br>
    listTasks.jsp<br>
    //import necessary packages<br>
    WorklistService wlSvc = WorklistService.getWorklistService();<br>
    String user = "achrist";<br>
    String password = "welcome";<br>
    IWorklistContext ctx = wlSvc.authenticateUser(user, password);<br>
    Map filterMap = new HashMap();<br>
    //put necessary filter in map<br>
    //get a list of tasks<br>
    //provide a link for user to see details<br>
    //something like <href="displayTask.jsp?taskId=<%= taskId %>"><br>
    //I had checked that the taskId contains value<br><br>
    displayTask.jsp<br>
    //import necessary packages<br>
    String taskId = request.getParameter("taskId");<br>
    if(taskId == null || "".equals(taskId)) {<br>
    //do something<br>
    } else {<br>
    WorklistService wlSvc = WorklistService.getWorklistService();<br>
    IWorklistContext ctx = wlSvc.authenticateUser("achrist", "welcome");<br>
    IWorklistTask task = wlSvc.getWorklistTaskDetails(ctx, taskId);<br>
    //having doubt to proceed further<br>
    }<br><br>
    I'm having problem with displayTask.jsp as how to proceed further. I'm using a schema file which contains info like customer name, address, customer id, and loan amount. How am I supposed to display those values in the jsp page? I saw a file called taskConfigSimpleUserActivity1_WF_Form.jsp, how can I make use of it? Any suggestion are welcomed and thanks in advance.<br><br>
    Regards,<br>
    k-lite

    I have a similar issue with my version of SharePoint. 
    SharePoint 2010 Enterprise.
    Outlook 2013 with MS Exchange
    Document approval workflow.
    When you open the document approval email that comes from SharePoint and click on "Open this task"  the popup window flashes across "workflow tasks details are being retrieved from the server ".
    I've tried the regedit fix and the hive fix and resetting IE that some of the other people have said that works and it doesn't. 
    When I go the site, and connect the task list to Outlook, I can complete the task that way.
    I also created a new approval workflow in SharePoint designer and it behaves the same way.
    Anything else I should try?
    == Steve Morley MedIT, Dalhousie University

  • Access permission to the Project server workflow tasks in project server 2013.

    Hi All,
    I am creating an OOB Project server workflow, where it contains few phases and each phases have some stages, there are few approval levels of the workflow. 
    Scenario - 1st stage - when project is submitted, a task is assigned to resource, when the resource click on the task link provided in mail, it redirects to the project server workflow task list.
    1) When users view the task list, for all user the delete Item and approve button is enabled even we have given permission as edit,view permission in sharepoint group for that user.
    2) Task list should be viewable by specific user but in my case even after giving the permission it can be apporved by any one who is not authorised also.
    3)  then i tried below things
    1. deleted the user in pwa
    2. deleted the user in sharepoint site.
    even after doing the above, the user able to do all activity in the stie content page, have access to the sharepoint portal. how this is possible?
    When checked with not existing user permission there are few defalut permission set for that user after AD sync. because of this he as access, even if he is not in pwa or in sharepoint site. how to retrict this?
    Can anyone faced the same issue?
    How to fix this permission issue?
    Thanks in advance.
    Sunitha

    Hello Treb Gatte,
    I ma creating Data Connection from SSRS Report, and then creating Data Set for "Project
    Server Workflow Tasks".
    And then when I pull data from the database, it is returning empty. For any other sharepoint list this
    is working absolutely fine. I am facing issue only wrt "Project Server Workflow Tasks" list.
    Thanks,
    Shanky

  • Multiple "Workflow Task (SharePoint 2013)" content type found

    Users on one specific sub-site reported that they are unable to add site columns to content type. When user clicks "add existing site column" user get error message - upon looking up on ULS, it indicate there were duplicate column "System.ArgumentException:
    No two choices should have the same ID". I came across similar issue on different site before and resolved it by deleting duplicate column, plus that site column was not used on any list or associated with any content type but this time duplicate
    column is "Task outcome" column which is associated with "Workflow Task(SharePoint2013)" content type. So looking up these two specific site column and content type I noticed there are 8 occurrence of each at affected site
    level (see below on image).
    Similarly there are 8 "Task Outcome" columns under Site Columns. So I refreshed staging env with prod copy and tried to delete "Workflow Task(SharePoint 2013" content type and got error message as shown below. Under Site features, I noticed
    "SharePoint 2013 Task List" feature was enabled, hoping this will do the trick I disabled it as we still use SharePoint 2010 workflows, but to no avail.
    Sorry, something went wrong
    The content type "Workflow Task (SharePoint 2013)" is part of an application feature.
    Not sure how it got started and something will try to find out but any advise on how to fix this issue?
    Thanks,
    MK Sin

    Hi Sin,
    According to your description, my understanding is that the users got an error when clicking “add existing site column”.
    For deleting the duplicate “Task outcome”column, you need to go to the “Workflow Task(SharePoint 2013)” content type, click the “Task outcome” column, and remove it from the content type.
    Then go to site columns, find the duplicate columns, and delete them and make sure only one “Task outcome” column exists.
    After the above, re-add the “Task outcome” into the “Workflow Task(SharePoint 2013)” content type.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Why do I not get the checkout option when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    No the person who can check out using the link in the email has the same permissions as me.  We have looked at all kinds of settings, profile etc and nothing evident can be determined to explain the reason.  However, one difference we did notice is that this person does not have a default web browser set and thus when clicking on items to open, it always pops up a dialog box asking which program to use to open it with.  This person chooses Adobe Reader and it opens on the Sharepoint server as it should and she gets the checkout option in a dialog box just like clicking on the document in the library.  My theory is that this step of choosing the program to open with is interrupting the typical way a pdf file is handled when clicking on URL links to the document, which is…. it is opened as temporary internet file rather than on the Sharepoint server.   Hopefully someone can figure this out ☺

Maybe you are looking for

  • How do I add more storage on my iPad?

    How do I add storage on my iPad? I can't update several apps because my storage is not sufficient.

  • Connecting 2 macs through the internet.

    I have an imac in my home and a powermac in my girl's home, i want to be able to control the imac and vice versa. how can i achieve this? i have a speedtouch modem router in my home with the imac and a dlink in the other. i use 10.5.4. thanks in adva

  • My iPod isn't transmitting any sound

    So I picked up my iPod, and it got snagged on another powercord, it fell on the padded leather recliner, no biggie. So I picked it up, popped in my headphones, and hit play... no audio. So I pulled them off, and noticed that altough it may be annoyin

  • Outlook 2013: HTML pictures end up as attachments

    In Outlook 2013, when sending to an e-mail account in my addressbook, the HTML pictures end up as attachments. If I send to the the same address but do not pick it from my address book, the HTML pictures get placed correctly in the mail on the receiv

  • Transfer calendar from gcal to icloud

    i want to transfer everything from my gcal to either ical or icloud and stop using gcal.  how do i do it?