Managing "Suspended" or "Terminated" Workflows by filtering on the internal status in Sharepoint 2013

We have a number of Sharepoint 2013 workflows running on various lists.
I want to create a simple page and drop in web parts that contain views of the lists, filtered on the workflow INTERNAL status.
This way I can see if any are currently suspended or terminated due to an issue and then resolve it quickly. At the moment I am going into each list item -> clicking on the workflow status and then seeing if the internal status is suspended, completed
or In Progress.
When creating a list view, the workflow status is not even an option in the "Filter On" dropdown , it does appear in the grouping option though.
I understand that if I could select the workflow status as a filter, I need to use the id of the status ie 5 = Completed.
But I cannot understand why my workflow status coloumn isnt a filterable option for me.
Any help would be appreciated.

Hi
This works for 2010 and hope wont be different for 2013
The name of the workflow should be an option in the "Filter On" dropdown and  equals to one of the below codes.
NotStarted = 0
FailedOnStart = 1
InProgress = 2
ErrorOccurred = 3
StoppedByUser = 4
Completed = 5
FailedOnStartRetrying = 6
ErrorOccurredRetrying = 7
ViewQueryOverflow = 8
Canceled = 15
Approved = 16
Rejected = 17

Similar Messages

  • Workflow status column is not showing the internal status values (Inprogress, Started, Suspended, Completed)

    I've created SPD 2013 workflow and deployed them onto that document library, This workflow execute on item update event. When updating library item, workflow triggered and completed successfully but workflow status column is not
    showing the Internal Status values rather it is showing the Stage information. I've unchecked the "Automatically update stage name on workflow status" and republished the workflow. After that, it is still showing the stage information. Any help
    is really appreciated.

    Hi Venkadesh,
    It is by design that 2013 workflow will show stage name in the workflow status column when
    Automatically update the workflow status to the current stage name is checked.
    And the workflow status column will be blank when Automatically update the workflow status to the current stage name is unchecked.
    For existing workflows, the workflow status will still exists with the previous values after unchecking Automatically update the workflow status to the current stage name.
    We can use Set Workflow Status action to update the workflow status value based on our needs.
    Best regards,
    Victoria
    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]

  • Sharepoint 2013 Workflow not available on Site created from Sharepoint 2013 Foundation Solution Template

    If I create a template on SharePoint 2013 Foundation, then create a site on SharePoint Enterprise (or Office/365) fully configured to support SharePoint 2013 workflows. When I access the site through SharePoint Designer 2013, and attempt to create a workflow
    SharePoint 2013 Workflows are not available -- you get message that SharePoint 2013 Workflow platform is not available because it is not configured on the server. This appears to be a bug in SharePoint Designer as the 2013 Workflows are available on the team
    site on the same site collection. There is no reason that a site created from a SharePoint 2013 foundation template should have this restriction.   To make matters worse if you then save that site as a template on the SharePoint 2013 Enterprise (or
    Office/365) system and create a new site from the that template you get the same issue.
    Anyone know a workaround/fix to this issue.   Have imported the template into Visual Studio but I can not find any way in Visual Studio to enable SharePoint 2013 workflows.   A solution that involves Visual Studio import would work fine
    for me.
    Earllibby

    Apparently you did not read my question very carefully.   The workflow manager is configured properly on this server and for the basic Team site in this site collection the full SharePoint 2013 workflows are available in SharePoint Designer 2013.  
    BUT they are not available on another site in the SAME SITE COLLECTION that was created from a solution template that was created on a SharePoint Foundation server.
    Earllibby

  • SharePoint 2013 custom workflow using designer

    I am in the need of develop a custom workflow in SharePoint online. Requirement is shown in the below screenshot.
    I am able to create the above mentioned requirement using SharePoint 2010 workflow in SharePoint 2013 Designer.
    But I am not able to implement the above requirement using SharePoint 2013 workflow in SharePoint 2013 designer.
    Above flowchart gives two scenarios.They are
    Approval Scenario- 2 Must approve (First and second only considered, then workflow will be completed)
    Reject Scenario- If any one rejects, then workflow will be terminated.
    I am trying to implement the above flow chart using "Task Process" action available in SharePoint 2013 workflow, but above scenarios
    (1&2) not able to implement at the same time using "Task process".  Available completion criteria is shown in the below screenshot.
    My Question here is:
    Does the above requirement is possible using SharePoint 2013 workflow in designer(Not SharePoint 2010 workflow)?
    Thanks in advance.....
    Anandan M

    Hi
    from you consideration:
    Approval Scenario- 2 Must approve (First and second only considered, then workflow will be completed)
    Create a new column in your list ( approval numbers ) a hidden column ( COL_NO_APPROVALS), default value = 0
    Set your workflow, when a approve is applied to that item, this column will incerment by 1
    Alos include a condition, if COL_NO_APPROVALS = 1 ( this mean is the second approver ), finish the workflow and approve the item completly
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • How to Construct the Email To activity in SharePoint 2013 Workflow

    I have a created a custom workflow and custom association and initiation form using SharePoint 2013.
    My Assn. form is fine.  I pass in the people picker (Active Directory group) value to my workflow just fine.
    Now on my Init form I use the passed in value from people picker and display a list of users and email addresses from the people picker group.  The list of users and email addresses are listed in a table with a check box to the left of each row. I am
    using JQuery, Knockout and MVC web service to retrieve the values from the group.
    All is well.
    Now my users pick who they want to send the email to.  Let's say they pick two users!
    When the user clicks the submit button, I have JSOM code which starts the workflow and sends in the 2 users email addresses as an argument to theworkflow.
     Note:  I tried sending my two emails as a collection and failed.  So i converted it to a string.  The variable is called strUsers.
    Since the argument is a string and Email Activity requires the To attribute to be an array, I use the BuildCollection<String> Activity to convert my string to an array.
    Now in my workflow I use WriteToHistory Activity to write out my BuildCollection variable (recipients).  Here's what is sent to the workflow history... [email protected];joejones@yahoo,com)  Note:
     Both names are bogus and I'm not Joe Jones.
    I then configure the email Activity and set to To property to my BuildActivity variable (recipients).
    When I deploy my Visual Studio 2013 solution, and attach my workflow to a publishing page, I am getting this error after I submit the Init form.
    An unhandled exception occurred during the execution of workflow instance.  System.ArgumentNullException.
    Does anyone know of an example of how to set up the Email To collection value.
    Note:  I tried using comma and semi-colon for my string (strUsers).  Neither worked.
    Thanks
    Tom
    none

    I think I'm getting close.
    Here’s an
    article
    that helped me out and below is my code.  Note:  I added a ParseDynamicValue and GetDynamicValueProperty to push the data from the "emails" property to colleciton of strings called EmailCollect.
    Here is what the data look likes
    The value of Selected Emails is [{"emails":"[email protected]"},{"emails":"[email protected]"}]
     Code excerpt in InitiationForm.  Note:  I am using MVVM and Knockout for the selected users from a list with checkboxes.
                    //build array for workflow 
                  var emailUsers =
    new Array();
                    //cycle through viewmodel emails
    for (var
    i = 0; i < viewModel.SelectedEmails().length; i++)
    var a =
    new Object();
                        a["emails"]
    = viewModel.SelectedEmails()[i];
                        emailUsers.push(a);
    wfParams['strSelectedEmailsHMgr']
    = JSON.stringify(emailUsers);
                     // Get workflow subscription
    and then start the workflow
    var context = SP.ClientContext.get_current();
    var wfManager = SP.WorkflowServices.WorkflowServicesManager.newObject(context, context.get_web());
    var wfDeployService = wfManager.getWorkflowDeploymentService();
    var subscriptionService = wfManager.getWorkflowSubscriptionService();
                    context.load(subscriptionService);
                    context.executeQueryAsync(
    function (sender, args) {
    // Success
    var subscription =
    null;
    // Load the workflow subscription
    if (subscriptionId)
                                subscription = subscriptionService.getSubscription(subscriptionId);
    if (subscription) {
    if (itemId !=
    null && itemId !=
    // Start list workflow
                                    wfManager.getWorkflowInstanceService().startWorkflowOnListItem(subscription,
    itemId, wfParams);
    Now I deploy and publish the workflow but now I’m getting this error when trying to 
    System.InvalidOperationException: Looking up a value using a key is not supported on an instance of 'Microsoft.Activities.Dynamic.DynamicJsonArray'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String
    key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    none

  • How to Resolve HTTP 500 error in sharepoint 2013 workflow

    Hi guys,
                 I am new to Sharepoint. I have created a workflow for sending if a document added or edited in a document library. When i added a document i
    workflow status shows workflow started. But when checked in the internal status of the workflow it shows as cancelled.
    RequestorId: 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce. Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["132"],"SPRequestGuid":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"request-id":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 05 Feb 2014 09:18:43 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.Activit
    How to resolve this error. It shows http 500 error.

    Go to one of your SharePoint boxes, open op powershell and get teh logs around the "SPRequestGUid" you see in your message...  Do something like this:
    Merge-SPLogFile -path "Desktop\wferror.log" -correlation 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce
    This will basically grab log files from all boxes ULS logs that have to do with that transaction.
    *** not sure how far back it will look depending on your log size, but sometimes I've had to reproduce another error (with a new SPGuid) and then Merge logs with that Correlation...
    Once you get this file, you can open it with ULSViewer and then you can filter/sort by Product/Category/ErrorLevel/etc...  this will definitely help you determine what the issue is.  The key is that SPRequestGuid (which is the "Correlation ID"
    that you see when you get SharePoint Unexpected errors to reference the log files...

  • Workflow status is always blank and only Internal Status is updated

    Hello All
    i have created sharepoint 2013 workflow but only the internal status is updated so the workflow column on the view will remain blank how to remove the internal status and use only the status field

    Hi Somar,
    I recommend to check if the “Automatically update the workflow status to the current stage name” is selected for the workflow in SharePoint Designer.
    Please open the workflow in SharePoint Designer, select Automatically update the workflow status to the current stage name and then publish the workflow.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Workflow Canceled Error in Sharepoint 2013

    A new SP 2013 installation, one server with SP, WF, etc and the other is simply SQL Server. Went through the installation steps for Workflow including the powershell bits. In designer, I am able to create a simple workflow and select 2013 as the type. 
    When the workflow is run, is shows internal status is canceled and has the following error text below. Note that I am running the workflow as a basic user, not as a system account.
    RequestorId: 55c6990b-c4a6-352c-4a5b-449fc1aecac4. Details: System.ApplicationException: HTTP 401 {"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],"SPRequestGuid":["55c6990b-c4a6-352c-4a5b-449fc1aecac4"],"request-id":["55c6990b-c4a6-352c-4a5b-449fc1aecac4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["61"],"SPIisLatency":["1"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer
    realm=\"61e7a76b-024e-40d5-9185-2887a044d7cc\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]a044d7cc\"","Negotiate","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Tue, 05 Feb 2013 19:17:31 GMT"]} {"error_description":"The server was unable to process the request due to an
    I've found few instances of this via various searches, most discuss not running the workflow as a system account, which is not the case here. The other mentions User Profile Service. I have no desire to have My Sites setup and whenever I start looking at
    initiation User Profile Service it begins by creating a MySite web app and site collection to associate the UPS to. Is this all required to get Workflow going?
    Thanks for any ideas/advice. I'm considering SP 2010 instead but would prefer to get 2013 working properly.

    hi,
    I am getting below error message...
    RequestorId: e948b96b-77ab-d56e-e414-512061490b18. Details: System.ArgumentException: ContentTypeId 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)
    The WF is designed in SPD2013 and it has below steps..
    1. Send email to sharepoint group member.
    2. Start WF task with same group.
    3. Add item to another list based on WF Outcome variable value.
    4. End WF.
    I have single server stand alone setup, everything on one server. Setting done for SMTP server on Central Admin out going mail and I am receiving the mail.
    User ID used to to login to server is a member of Farm admin and also has Site Collection Admin rights. The WorkFlow service is running using different service account.
    Any direction to get the exact error would be great help! Many thanks in advance.
    Regards,
    Kapildev

  • Free version of sharepoint 2013 and workflows

    Hello,
    Our company just switched to the free version of Sharepoint 2013. I just need to know if we are able to do workflows with custom lists in this version and be able to route the list to other people within the company. We just need to know if it
    is possible first before we dig into it.
    Thanks
    Natalie.

    I assume you mean SharePoint 2013 Foundation. You can see the detailed set of features here:
    http://www.apps4rent.com/sharepoint-2013-features-comparison.html
    If you get down to Workflows, you'll see that Foundation does not have those options.
    Edit: Correction. That is 2013 Workflows. You are able to make 2010 Workflows.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Good books on Business solution or content management by SharePoint 2013 OOB Apps or functionality along with examples

    Hi,
    Any help?
    Thanks
    srabon

    Hi,
    I recommend you the book named Beginning SharePoint 2013: Building Business Solutions:
    http://www.amazon.com/Beginning-SharePoint-2013-Building-Solutions/dp/1118495896
    Practical SharePoint 2013 Enterprise Content Management:
    http://www.amazon.com/Practical-SharePoint-Enterprise-Content-Management/dp/1430261692
    Best Regards,
    Lisa Chen
    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 Manager 1.0 (SharePoint 2013): The process was terminated due to an unhandled exception

    I am seeing large numbers of the following errors appearing in the event log of the SharePoint 2013 application server hosting Workflow Manager 1.0:
    Log Name: Application
    Source: Application Error
    Date: [Date/Time]
    Event ID: 1000
    Task Category: (100)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: [Application Server]
    Description:
    Faulting application name: Microsoft.Workflow.ServiceHost.exe, version: 1.0.20922.0, time stamp: 0x505e1b24
    Faulting module name: KERNELBASE.dll, version: 6.2.9200.16864, time stamp: 0x531d34d8
    Exception code: 0xe0434352
    Fault offset: 0x0000000000047b8c Faulting process id: 0x691c Faulting application start time: 0x01cfc2776b3f0d74
    Faulting application path: C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts\Microsoft.Workflow.ServiceHost.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll Report Id: b8157bf8-2e6a-11e4-9413-00155d38891d Faulting package full name:
    Faulting package-relative application ID: Event Xml:
    Log Name: Application
    Source: .NET Runtime
    Date: [date/time]
    Event ID: 1026
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: [same application server]
    Description:
    Application: Microsoft.Workflow.ServiceHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception
    Info: Microsoft.Workflow.Common.FatalException Stack: at Microsoft.Workflow.Common.Fx+<>c__DisplayClass2.<failfast>b__0() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object,
    Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart()
    Event Xml:
    Log Name: System
    Source: Service Control Manager
    Date: [date/time]
    Event ID: 7031
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: [Same application server]
    Description:
    The Workflow Manager Backend service terminated unexpectedly. It has done this 895 time(s). The following corrective action will be taken in 30000 milliseconds: Restart the service.
    Event Xml:
    The SharePoint 2013 farm is updated through the September 2014 PU (KB2995902).  Topology: 1 App, 2 WFEs.  Workflow Manager 1.0 installed to the App server.  Workflow Manager 1.0 cumulative updates one
    and two have not been installed.  The Service Bus Gateway and Service Bus Message Broker services are started.  The Workflow Manager Backend service can be started, but then quickly stops.
    Thoughts?  Resolution?  I would be grateful for any assistance.

    Hi Stephan,
    As I understand, you are encountering the issue that Workflow Manager Backend service terminating each time. May I know did you run the update cmdlets after you installed the updates for SharePoint server 2013? Please confirm it per the link below:
    http://technet.microsoft.com/en-us/library/dn133867.aspx
    If you haven’t run the updates cmdlets, I suspect this is an install issue. I’d suggest you re-install workflow manager to resolve the issue:
    1) Leave WFM/SB Farm
    2) Uninstall updates and application in the following order and one at a time:
    Service Bus CU1
    Workflow Manager CU1
    Service Bus 1.0
    Workflow Manager 1.0
    Workflow Manager Client 1.0
    Microsoft Windows Fabric
    3) Log into SQL server and delete Service Bus and Workflow Manager databases.
    SBManagementDB
    SBGatewayDB
    SBMessageContainer01
    WFManagementDB
    WFInstanceManagementDB
    WFResourceManagementDB
    4) Install in the following order one at a time through Web Platforms Installer:
    Workflow Manager 1.0
    Service Bus 1.0 CU1
    Workflow Manager 1.0 CU1
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Workflow Manager Suspends Workflows - "Invalid JWT token"

    Hi,
    I've installed Workflow Manager with the default settings described in this Technet article:
    http://technet.microsoft.com/en-us/library/jj193514.aspx. Everything seems to install just fine but when I create a very simple workflow test on an "Announcements" list which simple
    creates a Workflow History entry. However, the workflow immediately suspends with the following error which seems to be some kind of an authentication error. I am running the workflow logged on as a site collection administrator which is not 1. farm administrator
    or 2. the service ID that I input into the Workflow Manager Configuration Wizard.I also DO have profiles installed, the user running the workflow DOES have a profile and I DO have the App Management service application installed. In addition, I rebooted the
    SharePoint VM after the install
    Given that Workflow Manager, Workflow Manager Client 1.0 and Service Bus 1.0 are all running on the same server as Central Administration (since I only have the one SharePoint VM) perhaps the reference to "SAMEORIGIN" in the error means something?
    I've installed Workflow Manager with the same instructions on other farms in the past and not had this problem and wondering whether the June 2013 CU has introduced this error. . .
    Please help!
    Kathryn
    RequestorId: f17eeb99-00f1-d82f-0000-000000000000.
    Details: An unhandled exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 401 {"error_description":"Invalid JWT token. Could not resolve issuer token."} {"x-ms-diagnostics":["3000006;reason=\"Token contains invalid signature.\";category=\"invalid_client\""],"SPRequestGuid":["f17eeb99-00f1-d82f-9859-d5b160369f87"],"request-id":["f17eeb99-00f1-d82f-9859-d5b160369f87"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["4"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer
    realm=\"2b0ecd05-1b3e-4efd-a346-c7b309bf6fb5\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]09bf6fb5\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4517"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Sun, 25 Aug 2013 22:22:02 GMT"]} 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)
    Kathryn Birstein, Senior SharePoint Architect

    Hi,
    Base on the description, an unhandled exception occurred during the execution of the workflow instance.
    I suggest you to use other account to test the workflow. Please make sure you are not using system account. Also please make sure User profile service is running and syncing with active directory. As I've found sometimes workflow tries to read user information
    from user profile service and if the user details missing in User Profile service, the workflow might get failed. The original error is "Token Contains Invalid signature" which means either the user is system account or the user doesn't exists in user profile.
    There is an article about the error message, you can refer to it:
    http://steve.thelineberrys.com/following-sites-across-farms-with-sharepoint-2013-mysites/
    More information:
    Troubleshooting Workflow Manager 1.0 Management and Execution:
    http://msdn.microsoft.com/en-us/library/windowsazure/jj193529(v=azure.10).aspx?ppud=4
    Best Regards, 
    Linda
    Li

  • Tracing Termination Workflow attributes from Manager Self Service

    From Self service page on termination, I am setting attributes in a workflow function these attributes are used in the notification that is sent to the users. For a particular scenario I want to trace values of the attributes, is there a way to trace complete flow and attribute values flowing from self service page -> Workflow -> Notification.

    Why don't you try with the Wokflow status monitor. There you can check out the activities and check out the values of the attributes i think

  • Employee termination workflow ECC5.0

    Hi Everybody,
    We have a requirement to do a workflow for employee termination approval in HR. We are on ECC5.0. Manager will have to propose the termination, an approver will have to approve and then HR Admin will review the info and then the database gets updated.
    Has anybody implemented this kind of employee termination workflow in ECC5.0? I would like to know if there is any standard template/ business object etc..or any other useful information.
    Early response will be highly appreciated.
    Thanks
    Srinivas
    Edited by: srinivas bejjanki on Apr 10, 2009 5:46 PM

    Hi
    Thanks for your inputs.
    We are on ECC5.0 and we are not implementing ESS/MSS.
    I am wondering for implementing this workflow if we need to develop the screens, business objects, workflow every thing custon from scratch or do we have any thing standard where we can start from.
    Appreciate your help.
    Thanks
    Srinivas

  • Configuring Workflow Manager for SharePoint 2013

    I have gone through the configurations of Workflow and SharePoint to use the new Workflow Manager 1.0 several times now, and keep getting the below errors.
    My environment is set up with 2 servers, 1 SP Web Applicatin and 1 SQL. Workflow is installed on the SQL server. These errors are from the SQL Server. 
    Event ID 22
    Service Bus exception swallowed at location ServiceBusNamespaceListener.GetSessionAndStateWithRetryAsyncResult.HandleException. Microsoft.ServiceBus.Messaging.MessagingException: The token provider service was not avaliable when obtaining a token for 'https://srv22.domain.com:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> Microsoft.ServiceBus.TokenProviderException: The token provider service was not avaliable when obtaining a token for 'https://srv22.domain.com:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    at System.Net.HttpWebRequest.GetRequestStream()
    at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
    --- End of inner exception stack trace ---
    at Microsoft.ServiceBus.TokenProviderHelper.ThrowException(Uri requestUri, WebException exception)
    at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
    at Microsoft.ServiceBus.WindowsTokenProvider.OnBeginGetToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProvider.BeginGetToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken)
    at Microsoft.ServiceBus.Messaging.Sbmp.AcceptMessageSessionForNamespaceAsyncResult..ctor(SbmpMessagingFactory messagingFactory, ReceiveMode receiveMode, Int32 prefetchCount, CreateControlLinkSettings controlLinkSettings, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessagingFactory.OnBeginAcceptMessageSession(ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.MessagingFactory.AcceptMessageSessionAsyncResult.<GetAsyncSteps>b__29(AcceptMessageSessionAsyncResult thisPtr, TimeSpan t, AsyncCallback c, Object s)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    Exception rethrown at [0]:
    at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.Workflow.Dispatcher.ServiceBusNamespaceListener.GetSessionAndStateWithRetryAsyncResult.EndAsyncResult(IAsyncResult result)
    at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)
    Event ID 370
    The Workflow Manager cannot contact Service Bus service after retrying for '12' minutes. Please verify if the Service Bus service is up and running. The Workflow Manager failed at location 'ServiceBusNamespaceListener.GetSessionAndStateWithRetryAsyncResult.HandleException' due to exception: Microsoft.ServiceBus.Messaging.MessagingException: The token provider service was not avaliable when obtaining a token for 'https://srv22.domain.com:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> Microsoft.ServiceBus.TokenProviderException: The token provider service was not avaliable when obtaining a token for 'https://srv22.domain.com:9355/WorkflowDefaultNamespace/$STS/Windows/'. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    at System.Net.HttpWebRequest.GetRequestStream()
    at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
    --- End of inner exception stack trace ---
    at Microsoft.ServiceBus.TokenProviderHelper.ThrowException(Uri requestUri, WebException exception)
    at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
    at Microsoft.ServiceBus.WindowsTokenProvider.OnBeginGetToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProvider.BeginGetToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken)
    at Microsoft.ServiceBus.Messaging.Sbmp.AcceptMessageSessionForNamespaceAsyncResult..ctor(SbmpMessagingFactory messagingFactory, ReceiveMode receiveMode, Int32 prefetchCount, CreateControlLinkSettings controlLinkSettings, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessagingFactory.OnBeginAcceptMessageSession(ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.MessagingFactory.AcceptMessageSessionAsyncResult.<GetAsyncSteps>b__29(AcceptMessageSessionAsyncResult thisPtr, TimeSpan t, AsyncCallback c, Object s)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    Exception rethrown at [0]:
    at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.Workflow.Dispatcher.ServiceBusNamespaceListener.GetSessionAndStateWithRetryAsyncResult.EndAsyncResult(IAsyncResult result)
    at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result).
    The error messages suggested to me that the issue was being caused by our proxy server. I have removed the proxy server from the equation by removing the proxy settings. 
    I then also tried to navigate to the url in the error messages. When i navigate to https://srv22.domain.com:9355/WorkflowDefaultNamespace/$STS/Windows/ i get a 400 Bad Request. When i change the address to https://srv22.domain.com:9355/WorkflowDefaultNamespace/$sts/Windows/
    ($sts in Lower Case rather than Upper Case) i get a response from the Workflow server. 
    I have searched high and low for a solution to this, and cannot find one, can anybody shed any light on the situation.
    Thanks in advance
    Paul

    Hi Paul,
    Here is a similar post with bad gateway error related to proxy and gateway settings, you can take a look.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/73a909d2-226d-454e-a8ca-c5e62dc8caac/setup-windows-azure-workflow-addwfhost-error-wfmanagementwftopic-and-token-provider-service
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for