SharePoint Desinger 2013 Workflow canceled automatically for a specific user

Workflow canceled automatically. I have three users KMSLS,KMSCO,KMSQA who triggers the list workflow at different levels.
KMSLS has full control
KMSCO and KMSQA has contribute permission.
KMSLS is able to initiate the workflow and emails are getting sent when a new item is created in the list.
but I am Workflow gets canceled automatically by user KMSCO and KMSQA. I even tried to give full control to these user but getting same error as below. Please help me...
RequestorId:     9cc0cb81-736c-3628-4115-00a1125754b6.
Details: System.ApplicationException: HTTP 401
{"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug>
configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."}
{"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],
"SPRequestGuid":["0293311d-2376-455c-b73b-73d5e2769e0e"],
"request-id":["0293311d-2376-455c-b73b-73d5e2769e0e"],"X-FRAME-OPTIONS":["SAMEORIGIN"],
"SPRequestDuration":["49"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],
"WWW-Authenticate":["Bearer realm=\"b94af3aa-2759-48a2-a325-866271feda63\",
client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]71feda63\"","NTLM"],"X-Powered-By":["ASP.NET"],
"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Thu, 30 Oct 2014 10:54:29 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)
V.S.

Hi Vikas,
Please check and make sure your User Profile service and User Profile Synchronization service are running, then start a full user profile sync to make sure your users are in user profile service, then check if the workflow is still auto canceled for those
two users with contribute permission.
Here are some similar posts for your reference.
http://anujabhojani.blogspot.in/2013/02/sharepoint-2013-workflow-gets-canceled.html
http://www.sharepointviking.com/system-unauthorizedaccessexception-when-running-sharepoint-2013-workflows/
http://sharepoint.stackexchange.com/questions/90740/workflow-2013-throws-an-error-on-start
Thanks
Daniel Yang
TechNet Community Support

Similar Messages

  • How to Loop through another list and update a column with SharePoint Designer 2013 Workflow

    Hi,
    I am trying to get my head around the new 2013 Workflow Engine and SharePoint Designer 2013 Workflow Text-Based Designer.
    I have two lists.
    List A has 2 columns: Title, Completed (Yes/No)
    List B has 3 columns: Title, LookupListATitle, Completed (Yes/No)
    All the 2013 Workflow components have been installed and configured and I am selecting the 2013 Workflow option in SPD
    I am trying to set off a 2013 Workflow when an item in List A is edited to Loop through List B and select items where the LookupListATitle column's value is equal to the Title value of the current item, and set the value of the Completed column for those
    items in ListB to "Yes".
    I have the Workflow configured like this:
    Stage: Stage 1
    IF Current Item:Completed equals Yes
    Loop: 1
    The contents of this loop will run repeatedly while: ListB:LookupListATitle equals Current Item: Title
    Update item in ListB. 
    (The dialog options for the update item action as follows:
    List: ListB
    Field: Completed, Value: Yes
    In the Find the List Item section
    Field: LookupListATitle
    Value: Current Item: Title)
    Transition to stage
    Go to End of Workflow
    When I update an item in ListA and set its Completed column to Yes, I would expect the Workflow to find all the items in List B where the Lookup column is equal to ListA's Title (there are 2) and update their Completed column to Yes. But it doesn't work.
    When I look at the Workflow Status it says the Internal Status is "Canceled" and the information pop up has the following alien language (and may be truncated):
    RequestorId: 95f03b62-8956-ac14-c5cf-dc98c89c589c. Details: System.ArgumentException: Invalid JSON primitive: Item001. Parameter name: value at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.ConvertStringToJsonNumber(String value) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.ReadPrimitive(String
    type, XmlDictionaryReader jsonReader) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.JXMLToJsonValue(XmlDictionaryReader jsonReader) at Microsoft.Workflow.Common.Json.JXmlToJsonValueConverter.JXMLToJsonValue(Stream jsonStream, Byte[] jsonBytes)
    at Microsoft.Activities.DynamicValue.ParseJson(String json) 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)
    Unfortunately I don't have access to the server, logs etc.
    I would love to find some tutorials, or any books on SharePoint Designer 2013 in general and Workflows in particular but my searches haven't turned up much so far apart from a pre-release Beginning SharePoint Workflows which is in its very early stages and
    not much help yet.
    Can anyone give me some guidance on how to set up While Loops to iterate through a related list using SharePoint Designer 2013?
    Mark

    Hi,
    I understand that you wanted to update the items in the other list (Participants) where the Course equals the Current Item.
    You need to use “Call HTTP Web Service" action and “Build Dictionary" action to get the Maxid and then loop Participants to update the items.
    You can follow the steps as below to achieve what you want:
    Create a custom list named Courses, add columns: Title(Single line of text), Course ID(Single line of text), Course Finalised (Yes/No).
    Create a custom list named Participants, add columns: Title(Single line of text), Course(Lookup), CourseFinalised (Yes/No).
    Create workflow associated to Courses, start the workflow automatically when an item is created or changed.
    Add conditions and actions:
    The HTTP URL is set to
    https://sitename/_api/web/lists/GetByTitle('listname')/items?$orderby=Id%20desc and the HTTP method is set to “GET”. Then the list will be order by Id and desc.
    Then if Course Finalised is equal to Yes, the CourseFinalised  of the associated items in Participants will be updated to Yes.
    More information:
    http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to customize SharePoint Foundation 2013 workflow notification emails

    We have a SharePoint Foundation 2013 workflow that sends emails when certain criteria are met. We have tried to customize the emails using SharePoint Designer, but the emails that are received are different.
    Ho do we configure SharePoint to send the emails formatted as we specified in the workflow?
    The emails we receive are all formatted like this:
    Subject:
    [Company Name Workflow] - [Item] has been assigned to you
    Content:
    Task assigned by [User Name] on [Date].
    To complete this task:
    1.    Review [Item].
    2.    Perform the specific activities required for this task.
    3.    Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click here to request access.)

    Hi,
    According to your post, my understanding is that you want to customize SharePoint Foundation 2013 workflow notification emails.
    We’ll need to do a few things to replace SharePoint’s default notification with our own. The first thing we need to do is turn off SharePoint’s default notification. On the Workflow Tasks list, go the Advanced Settings and select
    No for Send e-mail when ownership is assigned. Then we need to create workflow to send email.
    There is an article for your reference, although it is about the SharePoint 2007, it still works for SharePoint 2013.
    Create a Detailed Custom Task Notification with a SharePoint Designer Workflow
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Edir sharepoint designer 2013 workflow xaml

    How to edit sharepoint designer 2013 workflow xaml
    I was able to edit it by exporting wsp and cab and modified xaml but how to again create wsp of this modifed cab.
    I took reference of
    http://netwovenblogs.com/2013/12/10/export-sharepoint-designer-2013-workflow-xaml/
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    According to your description, my understanding is that you want to  re-create a .wsp file after modifying workflow xaml file from the cab file.
    To achieve it, you need to install a zip software utility that supports cab files, like IZArc. Then re-create a .cab file using the tool and change it to .wsp file.
    More information, please refer to the link:
    http://academy.bindtuning.com/how-to-manually-edit-a-sharepoint-wsp-file/
    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

  • Send Edit Items URL in E-Mail Using Sharepoint Designer 2013 WorkFlow

    Hi,
    I want to Send the URL of Edit Item List using SharePoint Designer 2013 Workflow
    I m Using [%Task : URL%] Then it return the internal URL -- 
    http://SP2013/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
    But i want in  AAP URL for edit list items  such as 
    http://Hello.com/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
    Any one can suggest me please.
    Thanks 
    Rajesh

    Hi, 
    I'm assuming you made your site as internet site (public facing).
    In that case you might site desired output. If not you can think of replacing text
    i.e SP2013 = hello.com
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • User Profiles option missing from SharePoint Designer 2013 workflows

    I noticed the User Profiles is missing as a Data Source option in the SharePoint Designer 2013 workflow platform (see image); whereas, it exists in the SharePoint 2010 workflow platform. Is there a way to connect this feature in SharePoint 2013 workflows
    by registering it or configuring through Workflow Manager? If not, what is the new approach in SP 2013 to call User Profiles services?

    Hi,
    Based on your description, you want to use user profile in SharePoint 2013 workflow.
    In SharePoint 2013 workflow user profiles is missing, if you have to use the user profile, you can create a SharePoint 2010 workflow, and use Start a List workflow action in 2013 workflow to start the 2010 workflow.
    The article below is about How to start a SharePoint 2010 Workflow within a SharePoint 2013 Workflow Using SharePoint Designer 2013
    http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-start-a-sharepoint-2010-workflow-within-a-sharepoint/
    And in SharePoint 2013 there is an approach to user profile, you can add the action call http web service to get the information of user profile.  
    The article below is about how to use call http web service in SharePoint 2013 workflow.
    https://msdn.microsoft.com/en-us/library/office/dn567558.aspx
     Best regards
    Sara Fan
    TechNet Community Support

  • Can we migrate SharePoint Designer 2013 workflows from DEV to UAT to Live without any issues? Any bad experiences?

    Hi there,
    1. Can we migrate SharePoint Designer 2013 workflows from DEV to UAT to Live without any issues? Any bad experiences?
    2. When we deploy these workflows - does IIS need a restart?
    Thank you.

    That depends, did you create reusable workflows? Those can be deployed to another environment (of course depending on dependencies within the workflow itself)
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to create a special view for sharepoint list A and deploy this view to specific user personal view?

    How to create a public view for sharepoint list A and deploy this view to specific user personal view? Is that possible OOTB?

    Views cannot be exported or moved. Can you elaborate your requirement?
    --Cheers

  • Draft Documents View is empty for a specific user

    Hi,
    For a specific user, when he goes on the Document Draft Reports, the Sales Document sub-form is empty. Meaning that when he ticks the "Sales Documents" option, the boxes to choose specific Sales Document does not exist (e.g. Sales Quotation, Sales Orders etc.). This happens no matter what are the other options (e.g Open Only or User Option).
    The other lists (Purchasing and Stock) are working properly. Again, all the other users do not experience the same issue as the form is working properly
    The installation is on 2007A SP01
    Any ideas?
    Thanks in advance
    Gerasimos

    Hi Gerasimos.......
    I'm sure this is a Bug in your system. If you have any of the adons then please Disconnect it and also try to create new Super User and give him license and then check with this new user for the same output.......
    Else I'm afraid you need to raise a support ticket to SAP.......
    Regards,
    Rahul

  • Interactive report gives an error only for a specific user

    An interactive report based on a very complicated select gives an error only when a specific user is logged on.
    The error is:
    ORA-00932: inconsistent datatypes: expected - got CLOB.
    For other users logging using this page it works fine.
    Authentication for this application is done using a stored function.
    The query does not use the current userid in it.
    Why does it fail for a specific user? if there is a problem, it should fail all the time.

    Hi ankur,
    By what you said the report dont have any date parameters or no date columns.
    "Query execution was not successful ORA-01843 not a valid month." This means it is related with date mask passing a invalid month into date column or argument to to_date function.Check once the session date that is 'dd-mm-yy' or anything else
    select * from nls_session_parameters where parameter = 'NLS_DATE_FORMAT'
    select to_date('01-DEC-06'),to_date('01-12-06') from dual;
    Also a general question whenever I am trying to mark any question as 'Helpful', the status is not changing. Is there anything I am missing.While you flag it 'helpful' or 'correct',it takes you to other screen where you see "Yes, the question is now answered" click the radio button and then click ok button.
    Hope its helpful.
    Best Wishes,
    Kranthi.
    Edited by: Kranthi.K on Jun 8, 2009 9:00 AM

  • Extract the userID that set a role for a specific user

    Hi all @SAP Forums,
    I'm going to write a simple report to extract some information about users and role assignments in the system I'm working on.
    The requirements is quite simple; for every user in the USR02 table, I have to extract some info about the roles the user has.
    In order to do so, it's quite straightforward to find roles for a particular user looking into the AGR_USERS table, but ... I'd like to know if there's a way to find the user who set the role assignment for that specific user; the problem is that I cannot find that information in any AGR* tables, so I start to think it's not a stored information I can retrieve in any way.
    Any hints/suggests you can give me? Thanks in advance.

    Hello muthu,
    useful link to refer to when I'll need to extract a full username (first and surname) for a userId. But the question, forgive me if I've been not-so clear, was different.
    A (key) user, say A123456, sets a role for another user (A00000) in SRM... let's suppose now A00000 becomes a buyer. I'd like to know if there's a way, starting from the user A00000, to understand WHO had given him his role (in this case, A123456) and WHEN... I can see the CHANGE_DAT field in AGR_USERS about the "when"... where can I (if I can, obviously) find WHO set the role for A00000 ?
    Thanks again, sorry if I've been not that clear in explaining

  • Adobe reader 11 wont load signed feature for a specific user on VDI

    Hey all,
    New to the forums so please if i mess something up let me know.
    We Run xendesktop 5 for our vdi systems and we have one user, only one user, that when they load the adobe reader there sign document feature does not load what so ever, i have tried multiple test accounts that have same permission and it loads just fine,  other users running same desktop the feature loads just fine.  i am really baffuled as to why the feature will not load for this specific user.  just a troubleshooting note, i had the user log into a physical machine with the same adobe reader version and the sign feature loaded for them just fine, its only in the vdi system where it will not load.  Any suggestions would be greatly appreciated.
    Thank you!!!

    Kyle
    could you attach any screenshots ? one when it works fine and the other when it doesn't - so that the issue can be understood better.

  • Open Posting Period only for some specific user?

    Dear all,
    does someone have any idea, how could a posting period in ucmon be opened only for several specific user?
    Is that possible?
    Many thanks.
    Hallochen
    Edited by: hallochen on Sep 22, 2011 2:45 PM

    Depending on the requirement
    May be you can open it for a specific Cons Group(assuming User has authorization for that group)  which translates back to opening it for specific user only
    If user needs to work on more than 1 cons groups & has authorization then a step by step approach  will help
    rgds
    D

  • SharePoint Online 2013 Workflows for one List stopped working after 07/08/2014

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

  • Custom SharePoint Foundation 2013 workflows

    Hi
    I have created a custom workflow in my SharePoint Foundation 2013 environment using SharePoint Designer 2013.  I have a couple of questions:
    1. I have used the action 'Collect data from user' which is automatically sending emails to task assignees, however I need
    to customize these emails, is this possible? If so, could someone point me in the right direction for instructions on how
    to do this please?
    2. With the 'Collect data from User' and 'Send an email' actions, is it possible to include html code in the body of the
    emails?

    Try below:
    http://social.msdn.microsoft.com/Forums/en-US/ef945d33-50c5-4b89-8bb9-32a95498b419/how-to-change-email-template-for-the-approval-workflow?forum=sharepointcustomizationlegacy
    http://blogs.msdn.com/b/anolan/archive/2008/01/07/is-it-possible-to-modify-sharepoint-email-notifications.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f511a5a0-43ec-402b-a868-1bfe5d4a1462/how-to-modify-default-welcome-email-from-sharepoint?forum=sharepointadminprevious
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ea1c4ba9-cd8a-4ed7-80cc-e012933ea7cd/how-to-change-the-default-email-sent-out-by-a-sharepoint-workflow?forum=sharepointcustomizationlegacy

Maybe you are looking for

  • Problem in coding of problem in linux

    i m a student in 3 rd year bcs and doing a project in java . my project is that when u click on a folder which is protected by my program should redirect the person accessing the folder to another memory location which i specified e.g.recycle bin.it

  • Help with buttons on flash!

    i'm currently building an interactive flash website with videos. i have a menu page (frame 1) with small videos and buttons on each of those videos, which take you to a larger version of that video. however, all of my buttons seem to be attached to e

  • Two Doubt abt Area Menu and Conv from C to I

    Hello Guys, I have two doubt can some one help me on the same. 1. I have created one area menu , added all T code in that and it is successfully move to prod. server. problem I am facing is that when user click on the t code it give message <b>Transa

  • Windev and sap Object

    Hello, I would like to know if someone use sap object in Windev. I don't find if it is possible and how to use it. Thanks fo your help Laetitia

  • No sound what so ever in Windows XP.

    Roughly an hour or two ago I booted my computer onto the Windows XP partition of my Hard-drive and Heard the familiar Start up noise thingy for Windows XP. I thought I would play a little Team Fortress 2 and started Steam and TF2. Once in the game I