Approval process in update user workflow

Hi
I have read in the document Administrative Guide that by default, the approval process is set only for user creation. and the same does not work for update and delete operations on user, unless we customize the code.
Does any one of you have any idea as to what customization needs to be done for successful approval process for updates also. I have set approvers for resources.
Thanks
Bushra

1. backup the existing Update user workflow as an xml file
2. Copy paste the same in the BPE.
3. Save the copy as a new object with a different name.
4. Edit the new workflow as follows:
4.1 Create new activity
4.2 In the new activity, add a variable with some name
4.3 create a new action, and let that action be a subprocess. For that subprocess, browse and choose 'Approval' as the action.
4.4 Add a argument as name=approvalForm and value=<name of approval form>
4.5 Include argument user=$(user), etc. (Check the original approval workflow to see what the names of the arguments are)
4.6 For return to=name of the variable declared, from=approved
4.7 Add a 'isTrue' condition for the variable declared.
5. Make the appropriate transitions, and ur ready to go.
Let me know if this helps. I can post some skeleton code tomorrow. I need to work on it. Drop a line at [email protected]

Similar Messages

  • Double Steps in Update User workflow

    Howdy folks,
    I just noticed some wierd behavior and I thought I would see if anyone else has noticed (or can explain) it. When I update a user, the workflow status process diagram is shown as normal. However, it has duplicates of several events. For example, the stack goes Provision -> Provision -> End Provision -> End Provision. I was expecting to see each seperate entry only once. Am I just noticing this now? Should IDM be doing this? Why is it hitting them twice??
    Any knowledge or opinions are greatly appreciated!

    1. backup the existing Update user workflow as an xml file
    2. Copy paste the same in the BPE.
    3. Save the copy as a new object with a different name.
    4. Edit the new workflow as follows:
    4.1 Create new activity
    4.2 In the new activity, add a variable with some name
    4.3 create a new action, and let that action be a subprocess. For that subprocess, browse and choose 'Approval' as the action.
    4.4 Add a argument as name=approvalForm and value=<name of approval form>
    4.5 Include argument user=$(user), etc. (Check the original approval workflow to see what the names of the arguments are)
    4.6 For return to=name of the variable declared, from=approved
    4.7 Add a 'isTrue' condition for the variable declared.
    5. Make the appropriate transitions, and ur ready to go.
    Let me know if this helps. I can post some skeleton code tomorrow. I need to work on it. Drop a line at [email protected]

  • Approval Process of Quotes via Workflow

    Dear Experts,
    I'm looking for a Workflow solution, with which I can elektronically appove a Quote. In detail it means e.g. to reales a quote, two sgnatures are mandetory. These two people should be chosen inside the quote as a partner. After Savind they should get an e-mail notification and be able to approve the quote via e-mail (Outlook) or inside SAP.
    Is there a possibility to do that via workflow? How? Do anybody has some experience?
    Other proposals?
    Thanks in advance.
    Regards,
    Abbas

    1. backup the existing Update user workflow as an xml file
    2. Copy paste the same in the BPE.
    3. Save the copy as a new object with a different name.
    4. Edit the new workflow as follows:
    4.1 Create new activity
    4.2 In the new activity, add a variable with some name
    4.3 create a new action, and let that action be a subprocess. For that subprocess, browse and choose 'Approval' as the action.
    4.4 Add a argument as name=approvalForm and value=<name of approval form>
    4.5 Include argument user=$(user), etc. (Check the original approval workflow to see what the names of the arguments are)
    4.6 For return to=name of the variable declared, from=approved
    4.7 Add a 'isTrue' condition for the variable declared.
    5. Make the appropriate transitions, and ur ready to go.
    Let me know if this helps. I can post some skeleton code tomorrow. I need to work on it. Drop a line at [email protected]

  • Update User Workflow

    Hi there.
    I´ve spent some time with IDM but always working with the Create User Workflow. Now I have some questions about the Update User Workflow:
    I see it´s launched when you click "Save" in the edit user form and I imagine that in the same way when any change is detected in a resource. Are there other situations where this workflow will be used?
    Thanks.

    Check if the form fields are user.global.attrName. If global fields are set, then all linked resources will be updated. If not the account attributes for the resource will have to be set explicitly in the form (user.accounts[LDAP resource].attrName)

  • Approach to create a generic Approval process using SOA human workflow ?

    Hello Experts,
    I'm looking to create a generic approval process using oracle soa human workflow component using JDev 11.1.1.5
    Have about 7-8 existing applications which do some kind of 'approval' . So need to create a generic solution for all 7-8 applications, instead of users logging into 7-8 different applications to approve by logging into different systems. Just want to have like a 'one stop shop' , where i can just go and approve for any application without having to log into separate applications.
    I'm looking to get some suggestions and ideas, on how I can achieve this functionality ... Any suggestions/ideas are appreciated .
    Thanks a lot.

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Difference between Approval process signature strategy and Workflow

    Hi Everybody,
              I just wanted to know the difference between the approval process and Business workflow. How both of them useful in PLM prospective ??
    Thanks,
    Rajesh

    Hi,
    Approval or digital signature process in PLM involves creating authorization groups, signature strategies and assigning individual signatures to signature strategy groups.For example, to create digital signature for Engineering Manager, you create authorization group say ENGMGR and define it as individual signature and assign it to a signature strategy group.
    Business workflow is used to automate a business process.For example,it can be used in PLM-DMS for document review process.This can be triggered by status change(has to be defined in customizing) in document.
    Hope this helps.
    Cheers,
    Pavana
    Message was edited by:
            Pavana Mallavaram

  • Approval process to disable user

    Hi,
    I need to have an approval process before disabling the user and the approver not being user's manager.I am not quite sure as how to implement it. Please guide.
    Thanks

    Hi All,
    Can we use the Request API to create the request (and then Approval) for other than ADD (object type like Disable, Enable etc) of a user like below
    long lRequestKey;
    long UserKey=1;
    long ObjectKey=201; //testro1
    HashMap reqMap = new HashMap();
    reqMap.put("Requests.Target Type", "U");
    reqMap.put("Requests.Object Request Type", "Disable");
    reqMap.put("Requests.Type", "U");
    lRequestKey = reqObj.createRequest(reqMap);
    System.out.println("Created request and got key :" + lRequestKey);
    reqObj.addRequestUser(lRequestKey, UserKey);
    System.out.println("Added the request user");
    reqObj.addRequestObject(lRequestKey, ObjectKey); // I am not sure if this part is right but without this it is giving me the error.
    System.out.println("Added the request object");
    reqObj.completeRequestCreation(lRequestKey);
    System.out.println(Completed and submitted the request");
    I gave it a try but the Resource detail is not getting populated in the request due to which request hang up in "Request Initialized" state. I tried by passing the Process Instance Key also but no luck.
    Any chance if anyone crack it before. Please tell me. Thanks

  • Approval process when updating a Sales Order

    I have created a UDF that specifies whether a Sales Order has been "Picked" and would like to ensure that a user cannot modify the Order after this change of status without an Approval. I have my SQL code and it works properly but only when the Sales Order is created and does not get triggered when it gets modified.
    Thanks, Richard.

    This is far more complex to implement and can hamper the performance. 
    FYI.  The user updating the Sales Order can be only found in the ADOC (History table)
    SELECT TOP 1 T0.DocNum AS 'Document Number', T0.UserSign AS 'User Signature', T0.UpdateDate AS 'Update Date' FROM  ADOC T0  WHERE T0.ObjType = N'17'   AND  T0.DocEntry = @list_of_cols_val_tab_del AND T0.UserSign != 1 ORDER BY T0.UpdateDate DESC
    Apart from the aboce, you have to also check in the ADOC table, the Update datetime with the Update datetime of the sales order and the updated field. You have to test this thoroughly before implemting
    Suda

  • Approval process is skipping with update user

    Hi,
    I have approval process before updating a user (the oganization in which the user exists has approvers assigned to it). I am using the default Lighthouse Approval subprocess.
    But when i try to update a user, the workflow is going inside the "Lighthouse Approval" subprocess but the "getApprovals" activity (in the approval subprocess) is returning null. So the approval workitem is not being created.
    Can anyone help me out in this? Am i missing anything here.
    Thanks

    I belive the approvals only works for when someone is assigned the role, not when they are updated.
    Dana Reed
    Senior Identity Management Architect
    AegisUSA
    Denver, Co

  • Approval Process in the workflow

    Hi, in the current approval process, where the user receives a notification and then when the user clicks the approve button, it will build up another email and with all the messages and the user needs to click "send" to send the email, this is in Microsoft Outlook. Has anyone ever tried to customize so when the user clicks " Approve" button, it is automatically processed behind the scene without opening another mail and click "Send" button? Thanks.

    I don't think this is possible.
    When you click on the approve button and send an email, a few things happen.
    An email is formulated with the notification id and a code that corresponds to the action the user took. The email is sent to your Oracle EBS.
    Oracle EBS has a process that reads the incoming emails; deciphers the notification id and the action_code from the email and processes the workflow accordingly.
    Making changes to this architecture will be tough if not impossible.
    Hope this helps,
    Sandeep Gandhi

  • How to create Request programmatically to trigger Approval Process

    My scenario is dificult... I need to start Approval Process when the user want to assign AD Resource to other user without Request service. So I want to create Request programmatically from Event Handler to start Approval Process for Provision Resource request type.
    Is this right Way?

    If you talk of request, you will have to use RequestService. You can use code to work with the RequestService to create the request and the approval for you.
    -Bikash

  • Delivery approval process   sap b1

    Hi expert,
    i  want  to  insert  an  approval  process  based  on   user  field:
    this  is  the  query  but  the  system  doesn't   give  any  messagge  and  insert  the  delivery
    SELECT DISTINCT  'TRUE'   WHERE  $[ODLN.U_XTIPODOC] = 'BLM'  and  ODLN.DocNum = $[ODLN.Docnum]
    where  is  my  error?

    Hi,
    Have u tried running the query on document ?
    Is your query returning you the value ?
    Try this,
    SELECT distinct 'TRUE' from odln where $[odln.U_NAT_OF_CON.nvarchar] = 'BLM'
    and $[odln.docnum] = $[odln.docnum]
    I tested it in my tes tDB and it worked. The query is giving me the result.
    thanking you
    Malhaar

  • How Assigned TO field will be updated in "start Approval process" Task Action

    I have created a reusable workflow in sharepoint designer. Am using “start Approval process“ Task Action. I have a question in “start Approval process“ Task Action.
    I have username field in the list.  I have created a task form field with name username in “start Approval process“ Task Action. I have assigned list username field to task field username field.
    I have entered a user details in list user name field for new list item. Once the workflow has been started for that item a mail has been sent to the user whose name I have entered in the list user name field. Task has been assigned to the user whose name
    I have entered in the list user name field.
    When I have checked start Approval process task a send mail activity is present (Email Task notification currentitem:Assigned TO) .
    I have not update Assigned To field explicitly.
    1. Where / how the Assigned TO field is getting updated ?
    2. Workflow Initiation and task creation will be done internally by the user who created the item in the list?
    Thanks

    Hi,
    According to your post, my understanding is that you had questions about the “start Approval process“ Task Action.
    When you add the “start Approval process“ Task Action, you need to to select the user who the task assign to.
    To assign the user whose name you have entered in the list user name field, you add action as below:
    After you select the user, the Assigned TO field is getting updated.
    In addition, workflow Initiation and task creation will be done internally by the user who created the item in the list.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to use a pwa group in CREATE A TASK PROCESS in SPD 2013 for project server workflow approval process

    I am working on a Project Server 2013 workflow. I am creating this using Sharepoint Designer 2013. In this workflow I am using approval process at one stage. I have created a security group SalesManagers in PWA. I want to use this group for workflow approval
    process. I want all users of this group get approval tasks. 
    For this I used START A TASK PROCESS activity in the SP Designer. I clicked on
    this user and created task process. But here I could not find SalesManager group which I created in PWA. I was only able to find the users. I can also see
    Administrators for PWA . But couldnot find SalesManager or any other security group created in pwa.
    Can anyone suggest how I can get the security group created in pwa.

    NBDevelopment,
    I believe SPD only recognizes the SharePoint Groups and not the project server security groups.
    The Administrators for PWA, and few other groups like Project Managers for PWA etc., are synced SharePoint Groups with the security groups, which is why they show up in SPD.
    You could create a SharePoint Group for the Sales Managers group and use that in SPD.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • EREC: Standard workflow approval process

    Hello,
    Can someone help me out with the workflow name, for the approval process, if recruiter is creating the requisition?, will the workflow be trigerred after saving the requisition or the releasing the requisition?
    Thanks Much.

    Chech the WS51800008 in SWDD this workflow trigger in APPROVALREQUESTED event of ERC_REQUI business object,  also check WS16900009 This workflow template is used when processing requisition requests within the MSS E-Recruiting integrated solution. In the standard
    delivery, it is associated with the Simple Requisition Request (SRQ1) scenario. This workflow is started when a user (usually the manager) submits the requisition request.
    Also Check Business object ERC_OBJECT in tcode SWO1and use where used list.
    Regards
    Munguía.

Maybe you are looking for

  • How to control the maximum size of a component in a GridBagLayout

    Here is a small program that demonstrates my issue (it's originally from a big program that I couldn't attach here). I have a GridBagLayout with some components in it. Some of the components are JEditorPane (displaying some HTML) within JPanel and ar

  • Problems with my multipler on a K8T Master2

    I recently upgraded to the FX-51 running on the K8T-Master2. When I run CPU-z, it says my orginal multiplier was 11 (which would allow my CPU to run at 2200 GHz, its actual speed), but my current multiplier is 9 (so i run at 1.8 GHz). Any suggestion

  • Group by on data block

    Hi all sorry for troubling u frequently actually i am in a firefighting mode and the deadline of the forms is by weekend and i am relatively new to forms i have a summary block on which i want to use a where clause where there is a group by the summa

  • Cancellati​ons

    How can I cancel The Daily Manager & the daily NBC News printout? This question was solved. View Solution.

  • Deleted a pic, broken link, lesson learned

    Thanks to Beverly Maneatis' description in other posts I learned that iDVD 09 project file does not hold all the elements needed (images, pics, sound clips) for a project. I made a DVD for my brother who took his family to Disney. Imagine my surprise