Workflow 2013 change user executing the workflow

In a new workflow 2013, I would like to have the entire or part of the workflow to run under the id of a user that is not executing the workflow. The id of the user would have higher permissions than the user that is actually running the workflow and
would have at least 'edit' permissions.  I would like to run the workflow under a different user so that the person that is  executing the workflow will have permissions on the custom list that they submitted to the workflow set to view only. Thus
once the permissions on the custom list are set to view only, the workflow would need to run as another user.
Thus can you tell me and/or point me to a link that will display how to execute a workflow 2013 with a different user that did not start the workflow? Basically the workflow would be run by a user that did not start the workflow.

Hi scampsman,
As dmadelung said, Impersonation step is unavailable in SharePoint 2013 workflow, you can create a workflow using SharePoint 2010 platform, and use Impersonation step in this 2010 workflow.
If you want to use the function in SharePoint 2013 workflow, you can use "Start a List Workflow" to trigger the SharePoint 2010 workflow in SharePoint 2013 workflow.
More information about How to trigger a SharePoint 2010 workflow from a SharePoint 2013 workflow, please refer to the link:
http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/18/how-to-trigger-a-sharepoint-2010-workflow-from-a-sharepoint-2013-workflow.aspx
Best Regards,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • Dynamic actions user execute the Hiring action, IT 0105 dynamically adjust

    Hello Any body can guid me for the below requirement..
    Whenever the user execute the Hiring action (action type: Z1-Hiring cPA) the system should adjust the infotype 0105 dynamically during executing the hiring process, in the same way the subtype (0010 : E-mail )for the userid in SAP HR should be adjusted.  The HR Services should not have to do this manually.
    The e-mail account can be composed from the fields first name, name prefix and birth name. The fields have to be separated by dots. When the name prefix contains more words they have to be separated by a dot.
    When company code is 003 the value email atthe rate xx.comhas to be adjusted at the end.
    When company code is 004 the value email atthe rate yy.com has to be adjusted at the end.

    Hello Donnie Freako
    Thanks for the the information, As i am a HR-ABAP consultent. I am not much femiler on this dynamic actions..
    for this case: the  DESCRIPTION:  In the dynamic module pool ZXXXM000 has to be changed. - so for this where exactly i need to check the transcation, i think its in SE51..
    please provide me the steps for the same... and if possible please provide the breaf detaild explination for the below code where exactly i need to place the below, i think we need to place this in T588Z table against fields and values and whatis the meaing of P and I and F and W .. as a technical person i dont know much about this please help me on the same..
    P PSPAR-MASSN=u2019Z1u2019
    P P0001-BUKRS=u2019003u2019
    I INS,0105,0010/D
    F Z_003_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    P P0001-BUKRS=u2019004u2019
    I INS,0105,0010/D
    F Z_004_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    clear explination would be appreciated

  • Get the user executing the process

    Hi, I have a servlet. I need to get the user who is executing the process, that is, you can view the users executing each process in the Windows Task Manager, but how can I get the user who is executing the servlet (or Java) by the aplication itself?

    I believe that one of the standard system properties includes the ID of the user that the process is running under. Read the API for java.lang.System.getProperties; I think it lists them there.
    I'm not sure if that's what you're looking for, though. In the case of a servlet, this would be the user ID of whatever started the servlet environment. In a real production system this is likely to be "nobody" or an idea with low permissions created specifically for the purpose of running the server. Not sure if that's what you're looking for or how useful that would be to you.
    In particular, if you're looking for the ID of the person running the browser that requested the page that the servlet in question is servicing...then you're pretty much out of luck.

  • How do you change users on the new ipad

    Need help stwitching users on the new iPad.

    Toyworks11 wrote:
    Great answere Kappy. I will be doing this on my daughter's iPad so my son can borrow it for a while. My question is: Is there a way to restore the original owner's info back without going through all the settings again when they switch back?
    The only way to do this is to do a backup of your iPad through iTunes on a computer before you wipe it clean and set it up as a new device. Do NOT rely on iCloud backup for this. Then, you'll need to be sure you give the iPad a different name when you set it up for your son. Better yet, either sync it to a different computer or don't sync it to a computer.
    If you make sure you don't delete that backup on your computer, then you can restore from it later to return it to its current state.

  • Exchange 2013 - change user mailbox size to over 2GB

    Estimates
    They know how to set the mailbox size of a user to over 2GB in Exchange Server 2013
    the console does not display alternatives, Please urgent thank you
    saludos

    Hi 
    Here you go 
    Set-Mailbox -Identity "Ayla Kol" -IssueWarningQuota 900mb -ProhibitSendQuota 950mb -ProhibitSendReceiveQuota 1gb -UseDatabaseQuotaDefaults $false
    http://technet.microsoft.com/en-us/library/aa998353(v=exchg.150).aspx
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you.
    Regards,
    Sathish

  • How do you stop multiple users executing the same calc script at the same time?

    We have an issue when  users uplaod a spreadsheet and then run a calc script. at one time we have multiple exectuions of the script running.
    This slows up the system and we have to go cancel all the executions and run it again.
    Can we stop this and put them on a queue, so only one execution of the calc happens at one time. Or stop multiple executions getting submitted at all.

    You could use EXCLUSIVECALC to stop more than one calc running at the same time, although this will apply to all applications on your server.  And it doesn't just stop the same calc being launched twice.  Easier than the alternatives I can think of though, if it works for you.

  • PS2010: Resource synchronization fails in project site creation and when changes users at the Security Groups.

    I am not using AD syncronization for resource pool and security groups in Project Server 2010.
    When I publish a new Project or try to create a Project web site manually it creates the Project site, but fails to synch the resources.
    If I add or change one or more resources at the Project Managers security group at PWA it also fails to synchronize the root site and existing Project web sites.
    I looked at the ULS log and appears the the following error:
    Add or remove resources from a Security Group error excerpts:
    "GeneralQueueJobFailed (26000) - AddSingleUserMembershipInWss.AddSingleUserMembershipInWssMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='36d89522-f218-4bd2-870e-f07c9292435e' JobUID='f083e721-d7b2-4334-839b-fb10b5c0c513' "
    "Failed to find the XML file at location '14\Template\Features\ReportServer\feature.xml'
    Feature definition missing for Feature 'ReportServer' (Id: 'e8389ec7-70fd-4179-a1c4-6fcb4342d7a0')"
    Create a new Project site error excerpt:
    "CreateWssSiteContent: Creating project site failed! Project Uid=20450550-17ec-4278-83b0-b86116c63fb9, site URL=http://project.b2w/PWA/Teste 1001 2S, site name=Teste 1001 2S. System.Runtime.InteropServices.COMException (0x8107058A): <nativehr>0x8107058a</nativehr><nativestack></nativestack>The
    content type name _$Resources:ReportServerResources,DataSourceContentTypeName;_ cannot contain: \ / : * ? " # % < > { } | ~ & , two consecutive periods (..), or special characters such as a tab..."
    My Project site template is exactly the same than original Project Server site template (for test purpose) but created as Project site and then saved as template with another name.
    In both cases there are a reference to "ReportServer", but I do not have either a Report Server installed in the farm or the Reporting Services Service Application.
    Any ideas how can I correct this issue?
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi Segawa,
    In the above thread you are saying that there are reference to "Report Server". Save the template to local file system and extract the template. Now check the onet.xml under "Webtemplates" folder. Do you see the references of report server there.
    If that is the case, my suggestion would be to recreate the template without the reference for report server and then test the behavior.
    Also, you can even remove the reference in the onet.xml and use some compressing tools to rebuild the wsp file and then use that as template.
    Happy troubleshooting...
    Vikram Daruru - MSFT

  • Can previously entered data be shown again when user executes the wda app?

    hi,
    like in an  abap code in se80 ...where in user comes to know the previously entered data on the screen" by pressing backspace"...is it possible to have the same functionality in web dynpro abap?..
    thanks and regards,
    sahai.s

    Sashi,
    There is no standard functionality to achieve this, but we can achieve manually, if you store the all screen element values in a node, and bind the elements with that attributes, then automatically elements will contain the same values. i think this is the only one way.
    Kris,
    I think life span property will be used for memory consumption. If we select when visible...the memory takes when visible, if we select framework cotrolled, until we close the application memory for view will takes.
    Regards
    Srinivas

  • Call Tcode S_alr_87013560 with input values when  execute the workitem

    hi all
    My requirment is to call report S_alr_87013560 with value in input fields ,when user execute the work item .
    this report needs input 1 - controlling area
    on next screen--- 2- Database profile .
    then project ID  and cost...
    and this is the first activity of workflow definition.
    Please advice me on the same.
    Thanks in advance.
    Deepanker Dwivedi

    Hello,
    Put whatever you need to do in a method of the BO associated with the workflow,
    and then create a task (TS....) that calls that method. Then the step in the
    workflow calls that task.
    To call a report as you describe I'd guess you'd need to do a SUBMIT with BDC data.
    regards
    Rick Bakker
    Hanabi Technology

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • "Workflow Template Create" screen  appears while executing the work item.

    Hi,
       I am learning the workflow. I have created a test workflow in which there is a user decision step and 2 mail sending steps for the outcomes of the user decision.The workflow is activated properly . When I excute the workflow the screen for "Workflow Template Create" opens everytime. When I go to the Business workpkace a mail is there in my inbox with the title as given in the user decision step. Again when i am trying to execute the work item in the inbox again the same screen for "Workflow Template create " is opening. I am totaly confused with this problem . Pls suggest what might be the reason..?

    I think the Wflow Template Creation screen is not opening but your current session is getting closed so the previous session which is Wflow Create one which you have already opened is appearing. Please check your template design and act accordingly.
    Thanks
    Arghadip

  • How to Re-execute the Credit Memo Workflow?

    Hi! Folks,
    This is a problem which I am facing @ the client site....
    Actually, I am assigned with a Credit Memo Workflow.
    Here, if the Credit Memo is created i.e. if CREATED (BO BUS2094) Event is triggered the workflow is working fine.
    But as per the requirement if they want to change the Credit Memo using VA02 tcode and if the Net Value is changed I mean if it is greater than some specific value i need to re-execute the workflow (approval process)
    As for your information, I have copied the Standard Workflow Template 20000009 & 20000019 also I have checked with Event Linkage and other workflow stuffs.
    But my main query here is that while the Credit Memo is changed, CHANGED (BO BUS2094) Event gets triggered but with Receiver Type SUBSCRIBE along with error 'CHECK FM with Exception' with Message 'No Configuration for Workflow WS90400201 version 003'
    (Here WS90400201 with version 003 is my custom workflow template (copy of WS20000019))
    Also, I want to know is there any Functional Configuration missing out because I have referred help documentation and found that this re-execution of workflow (WS20000019) is automatic.
    Just kindly let me know if any part is missed out in configuration
    Please, guys revert to the earliest.
    Regards,
    Mistry Wasim

    Hi! guys,
    Please reply with your valuable guidelines to this problem.
    Regards,
    Mistry Wasim

  • Workflow Questions - How to execute the steps in a workflow automatically?

    I am using MDM 5.5 SP6.
    My Question is how to execute the steps in the workflow automatically. That means NO user interaction.
    I have a simple workflow, Start- Process -- Syndicate -  Stop.
    When a new record added /updated/inserted this workflow will start automatically.  The workflow inbox, the workflow status is u2018Receivedu2019 Step is u2018Processu2019.  Now I have to right click on the record then u2018Next Stepu2019 then click on u2018Syndicateu2019 then workflow completes automatically.
    How to execute the Syndication step automatically?.  I donu2019t want to have any user interaction to syndicate these records.
    Is this possible?
    The reason for this is I want to do some field validation and based on the field validation some assignments then then I want  to syndicate these records without user interaction..

    Hi,
    If you want to do some validations and then based on result assignments on some of the fields before syndicating, then you have to use workflow. Only syndication server will not fulfill this requirement.
    you may try by making validation's automatic property as "Error". This way it will not allow to add any record not fulfilling validation. You can also try using calculated fields instead of assignment.
    I am not sure if you can make your workflow fully automatic, because atleast one process step is must for any workflow, and process step means user action.
    Regards,
    Shiv

  • Add user as the apporver in workflow

    Hi,
        I have created workflow for Project. I would like to add a user as a approver by using the following code.
    user = IapiAccountLocator.lookup(session,"noppong_test");
    addApprover(user.getAccountObjectReference(), new CollaboratorApprovalRuleType(0));
    When the document is moved to the phase the document is locked by workflow engine, but there is nothing happen.  i also found the error in the log.
    P.S. If you have an example to add the user as the approver. I'm appreciated if you provide me .
    Daemon-027: EVENT_WORKFLOW_ENGINE (-2147483548, 0)     event_workflow_engine     daemon     com.frictionless.api.common.exception.ApplicationException: This field is required and must have a value.     AssociatedAttribute=WORK_ITEMS - SourceBo=-2144361477:1907:Contract Approval - ValidatingParent=-2144361477:1907:Contract Approval - com.frictionless.api.common.exception.ApplicationException: At least one of the items above is invalid. Mouse over the highlighted area for more details.| at com.frictionless.api.common.exception.ChainedExceptionFactory.createApplicationException(ChainedExceptionFactory.java:90)
    Thank you so much,
    noppong

    Hi Baski,
        Thank you so much for your response. It is so useful for me.
        The issue has been resolved by uising the XPDL template from SAP. I have some question about changing the phase. I have 3 phases as the following :
    1. Draft
    2. Approval -> Workflow is here . Prev phase is Draft and Next Phase is Approved.
    3. Approved
    I added script to change phase in post script on the block activity as following 
    import com.sap.odp.api.common.*;
    if(getApprovalStatus() != DENIED) {
         doc.getIBeanHomeIfc().upgradeToEdit(doc);
         doc.getIBeanHomeIfc().changePhase(doc,"Approved");
    }else{
         doc.getIBeanHomeIfc().upgradeToEdit(doc);
         doc.getIBeanHomeIfc().changePhase(doc,"Draft");
    When the approver approve the document i found the error in backgroud task status as following:
    Stack Trace: Sourced file: inline evaluation of: ``import com.sap.odp.api.common.*; if(getApprovalStatus() != DENIED) { doc.get . . . '' : target exception : at Line: 5 : in file: inline evaluation of: ``import com.sap.odp.api.common.*; if(getApprovalStatus() != DENIED) { doc.get . . . '' : .changePhase ( doc , "Approved" )
    Target exception: com.frictionless.api.common.exception.ApplicationException: You may not transition to the target phase Approved. It is neither a valid next nor previous phase.
    at bsh.BSHPrimarySuffix.doSuffix(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHBlock.evalBlock(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHBlock.eval(Unknown Source)
    at bsh.BSHIfStatement.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at com.frictionless.comp.scripting.ScriptEnviro...
    It seem like the document is automatically changed the phase  to 'Approved' and make the script error, and the document is locked on the Approved phase. I would like to ask you some more questions.
    1. Why does the workflow change the phase automatically? On my understanding the phase should be handled in PostScript by the script
    2. On my understanding the workflow engine will lock the document during the workflow. Why this workflow did not release the lock when the document was changed the phase to 'Approved'.
    Thank you and appreciate your help
    Noppong

  • Problems in creation of a new user in the workflow

    Hello everybody,
    I created a task "create new user" in the workflow. When I chose the "password" attribute, the entry couldn't be created. Without that attribute, I am able to create a user and see him in the monitoring, but can't log into the workflow because of a password error. Could anybody tell me what went wrong here? Did I forget a setting?
    Thank you in advance...

    Hi All,
    We suddenly started getting this error:
    Access denied.
    You may not have access to perform this task on the chosen person
    or your session has timed out. (Try to log into the system again.)
    As told above we already have extension=php_mcrypt.dll enabled in php.ini file like this.
    ; Local Variables:
    ; tab-width: 4
    ; End:
    [PHP_LDAP]
    extension=php_ldap.dll
    [PHP_MCRYPT]
    extension=php_mcrypt.dll
    [PHP_MSSQL]
    extension=php_mssql.dll
    [PHP_XSL]
    extension=php_xsl.dll
    We are also having file libmcrypt.dll in the php.ini folder.
    This error is only coming for one queue when we try open a transaction and not any other queue. we are having same access to all the queues. this is only happening from today and till yesterday we never had this issue.

Maybe you are looking for