Validation in approval workflow

Hi,
I am new to OIM 11gR1.
I have created one approval workflow, RequesterManagerApproval in jDeveloper.
When the user raises a request, the request will go to Requester's Manager.
We have to check that Requester's Manager should not be blank or disabled.
If it is blank, the request should be rejected and a notification mail should be sent to requester.
Kindly suggest how to configure the same.
Thanks & Regards,
Aparna

It is sample.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/developing_oim_custom_approval_process_for_self_registration/developing_oim_custom_approval_process_for_self_registration.pdf
Refer Appendix A for sample code.
Use Java Embeded Activity to validate requester's manager and make use of Email Activity to send email.

Similar Messages

  • Built in Approval workflow can't send to AD univeral security mail enabled group (email recipient not valid)

    Background: SP2010 SP2 with March 2015 CU installed. Using the built-in Approval - SharePoint 2010 workflow on a library. The Approval workflow does send email to individual users when users are specified in the Approvers field instead of a group. We
    need to use a group. The workflow reports the error email recipients are not valid. I don't see anything in ULS logs. The Exchange server tracking logs do not show the emails to the AD group being processed (no evidence they are even received into Exchange,
    but all other mail from SharePoint goes through, including the workflow's email to the workflow initiator). I can send email to the AD group from Outlook and all group members get it.
    To send Approval workflow email to a mail enabled AD Universal Security group, what
    exactly are the requirements?
    Q1. Does the SharePoint\system account (aka web app pool account) *absolutely* need to have a mailbox?
    If so, I need some clarification. I saw
    http://www.spdev.info/2012/11/using-security-groups-with-workflows.html which was offered as a solution in another post. It says "To allow SharePoint to email the mail enabled security group you need to either create a mailbox for the SharePoint service
    account, or attach the email address provided in the Outbound Email Settings as an additional email alias for a mailbox." Then it says you need to do *both* - create a mailbox for service account *and* add the outbound email settings address as an alias
    in the *service account's* mailbox settings. Well, we can't do the latter. We are using a dedicated AD account with a mailbox for SharePoint mail settings purposes, and no two mailboxes can have the same alias.
    I tried adding the AD account specified in the Reply From: outbound email settings (Reply To: is set to a distribution list) to the AD group's "Message Delivery Restrictions" and UNchecking Require that all senders are authenticated (even
    though the AD account does authenticate). I tried allowing All Senders and UNchecking Require authentication (though that leaves email address open to spammers), but neither worked.
    Q2. Does the AD mail enabled group need to be synchronized via User Profile Sync?
    We currently only sync users. I do see the AD groups (we use AD groups into SharePoint groups security model) in SharePoint's People and Groups, and the mail address for the mail enabled group is *not* present in the properties. Is it a requirement to sync
    the AD groups so that the email address shows in the AD group's properties in SharePoint?
    The AD group is in a SharePoint group with Approve permissions. The individual AD group members are also in another AD group in a SharePoint group with Contribute permissions. I even placed myself in the AD group to test whether permissions issues; I am
    farm admin. All SharePoint groups are set to allow Everyone to read the group's members.
    This is driving me crazy.
    Thanks,
    Joan

    Hello Victoria,
    Thank you. I have an update. I got the workflow working. Turned out to be two separate unrelated issues:
    (1) invalid email address for recipient was because the email address of AD group was not present in SharePoint's properties for group. Also why nothing appeared in Exchange Server tracking logs; the email was never sent from SharePoint. Once this was remedied
    (explained below), the Task Assigned email was sent out to the AD group.
    (2) the Task Assigned email was rejected by Exchange for reason 550 5.7.1 RESOLVER.RST.AuthRequired. The Exchange tracking logs clearly showed this. Setting the AD group's properties Mail Flow Settings, Message Delivery Restrictions to "Only senders
    in the following list: <the domain account of the email address specified in SharePoint outgoing email Reply From setting>" and UNchecking "Require that all senders are authenticated" allowed the Task Assigned email to go through.
    Answer to Q1: It is not required for System account (aka web app pool account) to have a mailbox when the SharePoint outgoing mail settings Reply From email address is of a domain account of the domain SharePoint is in. That is our scenario, as I noted we
    use a domain service account dedicated for SharePoint mail. I can't speak to other scenarios. The Reply To: does not have to be the same email address; we use a distribution list. And, ever paranoid about spamming because of unchecking require autenticated
    senders, I verified that my own account could not send email to the group (Outlook provides message "You do not have permission to send to: <GroupName>").
    Answer to Q2: I did not have to sync groups via User Profile Service. What I did do, however, was remove the AD group from SharePoint, People and Groups, Groups list, and readd it. (Note: what I *literally* did was was remove the SharePoint group from all
    permissions, remove the AD group from the SharePoint group, then remove the AD group from the Groups list, readd the AD group into the SharePoint group, and reassign permissions to the SharePoint group - Read to top-level site, Read to subsite (has unique
    permissions), and Read, Approve to the subsite library with the workflow. In order to start clean. When I readded the AD group to the SharePoint group, it came in with an email address; email address now shows in the group's SharePoint properties. I noticed
    that the format was GroupName instead of Domain\GroupName. (I had originally created the AD group as a Global Security group, added it to a SharePoint group, *then* (after I found out about that requirement when first troubleshooting workflow) converted it
    to Universal and mail enabled it.
    I suppose, would syncing groups would fix this issue of SharePoint not updating AD group changes?
    Additional note: I first gave the AD group Read to the library directly instead of giving Read to the SharePoint group, tried the workflow, and the email was sent. I then removed the AD group's direct permissions to the library and added the SharePoint group
    to the library and that also worked. So I was able to use the AD group in SharePoint group (I had read in one post that would not work).
    Thanks,
    Joan

  • PO Approval Workflow Customization - Save Validation error

    Requirement- we needed to modify PO Approval workflow to add item cost under notification as an additional column. In this process I have tried saving the standard PO Approval workflow but when doing validate it throws an error.
    I am using Oracle EBS R12.1.3
    and Oracle Workflow Version  2.6.3.5
    Attaching error document ..
    Any quick help is appriciated.
    Thanks,
    Ajay

    Hi,
    I believe the feature is available.
    Oracle Purchasing User's Guide Release 11i/R12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Setup Notes for E-mail Purchase Orders [ID 198539.1]
    Release 12: New Features For Purchasing Approvals [ID 429314.1]
    FAQ: Document Approval and Routing [ID 210488.1]
    Thanks,
    Hussein

  • Automatic approval workflow does not work anymore

    Hi,
    Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
    After changing the BUS objects 'automatic approval' workflow into the 1-step manager approval workflow it does work.
    - The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
    - We applied a new SP (SP07) not that long ago.
    - These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
    001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
    However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
    Any input is very much appreciated.
    Kind regards,
    Tim

    Hi Balaji,
    In SRM 7.0,
    Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
    - The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
    - - These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
    001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
    However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
    Any input is very much appreciated.
    Regards,
    Shears

  • OIM Approval Workflow

    Hi,
    I need to implement the following scenario in OIM.I have following 3 types of users in OIM . Employee,Organization Admin and Resource Admin.
    1.Organization Admin logs into OIM and request a resource to an user.While requesting,Organization admin needs to enter some information about the user (it could be either process form or resource form)
    2.Once the request is submitted,Resource Admin should see it in his pending task list.
    3.Resource admin approves the request and the user gets provisioned to the target system.
    I tried creating a process form,in which the admin can enter user details,but I am not sure how to attach approval workflow in that.
    When I tried using Resource Form,I am not able to populate user's information in the form.
    Any idea about how to implement this scenario?.Thanks in Advance.

    Hey Nitesh...
    Thanks for the Reply....
    Sorry i mistakenly put process form in place of object form. By default approver is only able to see only first name and last name in user details. What additional configuration i need to do so that approver can see the object form also for that user and then can approve/Reject. As the approver is from different organization so not able to view user details....but as per requirement have to show only the requested resource object form!
    Also i have couple of other questions which i am not able to crack....appreciate if you can help me to figure out the solution :)
    1. When i requested a resource for multiple users then approver is not able to approve it for few users and reject it for others under same request. Does OIM provide any kind of customization which can help me to achieve this.
    2. Once my user get provisioned in any resource lets say AD after that when i modified the user OIM profile and save it, it should modify the AD account also if the modified attribute is mapped in Resource form using prepopulate. Is this valid requirement?
    Edited by: user10781632 on Feb 26, 2009 5:35 AM

  • Unable to send emails on APPRV - AP Invoice Approval workflow. r12

    Hi,
    This is on r12.1.3. The Invoice approval workflow is not sending notification emails. We have tried all we could but email notifications are simply not going out.
    Steps executed.
    1. Make sure email addresses are valid
    2. Make sure all email preferences are set to receive emails
    3. WF_NOTIFICATION_OUT was cleared and rebuilt two times
    4. Ran WFSTAT.sql for complete diagnostics but shows nothing.
    5. Workflow log file shows nothing suspicious.Despite of all this we are not able to receive emails. We need to send notification emails when an Invoice in AP is in "Initiated Approval" state. The strange thing is that this issue is only with payable invoice approval workflow. All other workflows are receiving emails just fine.
    Please advise.
    D

    Can you find any errors in the Workflow log file?
    How To Troubleshoot Java-based Workflow Notification Mailer [ID 242941.1]
    Troubleshooting Workflow Java Notification Mailer - Technical Reference [ID 1191125.1]
    Workflow Java Mailer & Notifications FAQ [ID 562551.1]
    OWF H Diagnostics, Solutions and Information [ID 332152.1]
    Please see if (Checklist to see where and why Invoice Approval Workflow gets stuck [ID 261409.1]) helps.
    Thanks,
    Hussein

  • JV Approval Workflow

    Dear Experts,
    I need to create Appproval workflow for Journal Voucher. I had gone through the docuemnts in SPRO - financial accounting - tools - workflows.
    I have created a small custom workflow with FIPP - Completed as triggering event. But i feel we can use the std workflow template provided by SAP, but dont know which one to select and how to proceed. If anyone has information, please guide me.
    Any kind of help is highly appreciated.
    Regards,
    Lakshmi

    Hi Lakshmi,
    I am having a challenge with JV approval workflow myself and I'm wondering if you can help. Essentially, I need users to be able to post JVs below the threshold amount, and park (send for release) ones above the threshold. I just posted a note, the contents of which are copied below. Any guidance you can provide would be much appreciated.
    Thanks in advance,
    Kathryn
    Our objective is to have senior accounting personnel approve/release journal entries that exceed a certain value, say $100,000. We have configured the release function for parked documents, using workflow WS10000051 with business object 'FIPP', event "COMPLETED" and release amount of $100,000. However, this appears to assume that staff have authorization only for parking, because if you have posting authorization, nothing stops you from posting a document over $100,000. It seems illogical that you have to exceed a certain $ value before the release will trigger, but if your document is below the amount, you can't post it because you can only park.
    In order to avoid making approvers release every single journal entry, what we want is for users to be able to post any document below $100,000.00, but be forced to park ( save as completed) all documents >/= this limit. We tried setting up a validation on the document amount, but the error message forces us to exit completely, i.e. doesn't allow us to park the document.
    Is there perhaps a different workflow that triggers at the point of posting, rather than parking, that will accomplish what we want?
    Thanks,
    Kathryn

  • SharePoint Approval Workflow using SharePoint Designer in SharePoint Foundation 2013

    I am unable to do SharePoint Designer workflow for approval process and I didnt get any Approval process in Actions in SharePoint designer Workflow also I don't find workflow features in Site collection features SharePoint 2013.
    Even I am not able to do simple Out of the box Approval Workflow.
    Kindly help me with this

    Unfortunately, Out of the box workflows are not available in SharePoint foundation 2013, you need at least the standard version of SharePoint 2013.
    You can still create .Net Workflows using the 2010 plateform.
    Take a look at this great comparative between the three versions of SharePoint 2013 :
    http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/

  • Setting up Sharepoint 2013 approval workflows depending on field value

    Dear Microsoft Support,
    I am still relatively new to Sharepoint-Infopath and would need help with setting up workflows for a requisition form I am creating. I have designed and created a form using Infopath 2013 and have successfully created the link
    to have the data uploaded into my Sharepoint Server 2013 library. This form's purpose is to have our users make supply requisitions from the Warehouse department. We are a school, therefore, there are numerous different departments with different approvers.
    My goal now is to setup the approval workflows using Sharepoint Designer 2013. The complication now is that only certain people need to approve the requests, depending on the department selected. For example, I am in the IT department, if I put a field's value
    as "IT" the form will be sent to the IT department manager prior to going to the Warehouse department for processing. If the user chose "English", the form will be routed to the English department head for approval. What are the steps that
    I would take to have that kind of customization? How do I setup approval workflows in Sharepoint Designer 2013 to meet that?
    I have tried searching for solutions over the web, but all of them are too generalized and would not be related to my case in terms of different approvers depending on the different departments in our school. Your assistance would be greatly appreciated.
    Thanks. Jason

    I would create a second SharePoint list that is set up with two columns. The first column is Title (which is a default column) and the second column is 'Person or Group' column and name it 'Approver'. Then enter the department in the title field and select
    the person who needs to approve that department's forms in the 'Approver' field. Use this list and pull in this information in the InfoPath form by creating a data connection to the newly created list and set up the filter to only pull
    back the information where 'Title' = 'Department'. After this information is pulled into your form, store the approver information in a hidden field in the InfoPath form and use that field throughout the workflow.
    I know this is a very brief explanation so let me know if you need more information.

  • Approval workflow in SharePoint foundation 2010

    Hello Experts,
    I'm using SharePoint foundation 2010. Can someone help me understand the procedure for creating the approval workflow for a doc library using the SharePoint designer 2010. It would be great if you can guide me the step by step procedure for setting up this
    workflow.
    Thanks. 

    Hi rebel537,
    As you described, you are using SharePoint Foundation 2010. There is no “Start approval process” action when you edit SharePoint Foundation 2010 workflow in SharePoint
    designer 2010.
    I suggest you using “collect data from a user” action instead of “start approval process” action to complete the approval task. There is a demo for your reference.
    1.  
    Open the SPD, navigate to the workflow edit zone. Select “collect data from a user “action.
    2.  
    Click data, in the pop-up window, click next and enter the task name for the approval workflow.
    3.  
    Click next, define the fields for the task, for this demo, there has a field “approval result”.
    4.  
    Then click finish.  Back to the workflow edit zone, click user, in the pop-up window, select the user for the task then click finish ,back to the workflow edit zone.
    5.  
    Add a condition (if any value equals value) after the action.
    6.  
    Click the first value, and then click Fx, there goes to a pop-up window, enter as below.
    Data source:  Association: Task List
    Field from source: Approval Result
    Field: ID
    Value:  Variable: collect
    7.  
     Set another value to “Yes”, add the action” set workflow statue”, set it to approval.   Add an If-Else branch, set the workflow statue to reject.
    8.  
    Publish the workflow, and use it for the approval purpose.
    Thanks,
    Simon

  • FI Upload file (Approval Workflow)

    Hi All,
    Need some assistance:
    Currently our company has a standard approval workflow built.  So when we receive an invoice without a PO, we manually post the invoice to a GL & Cost Centre.  Once the invoice is coded, It’s then sent to the GL owners to approve using the workflow currently in place.  All this works perfectly fine.
    My issue is FI Upload files……. As Upload files contain several GL accounts – we are currently attaching a manual email approval from the approver to the file upload so the Accounts Payable department could post without any further approvals in Workflow as an email approval is sufficient.
    We would like to build the same workflow approval cycle that we have already in place for Fi Invoices.
    Note – an upload file come in with 10 different GL accounts ( ideally we don’t want to send it to 10 different approvers) as this will slow down the process, so I was wondering if there is a better solution that you could share to eliminate the upload going to 10 approvers.
    Any Suggestions are greatly appreciated.
    Thanks
    Alex

    Hi All,
    Need some assistance:
    Currently our company has a standard approval workflow built.  So when we receive an invoice without a PO, we manually post the invoice to a GL & Cost Centre.  Once the invoice is coded, It’s then sent to the GL owners to approve using the workflow currently in place.  All this works perfectly fine.
    My issue is FI Upload files……. As Upload files contain several GL accounts – we are currently attaching a manual email approval from the approver to the file upload so the Accounts Payable department could post without any further approvals in Workflow as an email approval is sufficient.
    We would like to build the same workflow approval cycle that we have already in place for Fi Invoices.
    Note – an upload file come in with 10 different GL accounts ( ideally we don’t want to send it to 10 different approvers) as this will slow down the process, so I was wondering if there is a better solution that you could share to eliminate the upload going to 10 approvers.
    Any Suggestions are greatly appreciated.
    Thanks
    Alex

  • FI Uploads (Approval Workflow)

    Hi All,
    Need some assistance:
    Currently our company has a standard approval workflow built.  So when we receive an invoice without a PO, we manually post the invoice to a GL & Cost Centre.  Once the invoice is coded, It’s then sent to the GL owners to approve using the workflow currently in place.  All this works perfectly fine.
    My issue is FI Upload files……. As Upload files contain several GL accounts – we are currently attaching a manual email approval from the approver to the file upload so the Accounts Payable department could post without any further approvals in Workflow as an email approval is sufficient.
    We would like to build the same workflow approval cycle that we have already in place for Fi Invoices.
    Note – an upload file come in with 10 different GL accounts ( ideally we don’t want to send it to 10 different approvers) as this will slow down the process, so I was wondering if there is a better solution that you could share to eliminate the upload going to 10 approvers.
    Any Suggestions are greatly appreciated.
    Thanks
    Alex

    As such there are no events available in BUS2023, therefore extend it to add the event and call this event in your BTE FM using FM SWE_EVENT_CREATE_IN_UPD_TASK
    Regards, IA

  • In search of assistance learning how to modify the mail message from an out of the box SP2010 approval workflow.

    So, I have found the article
    http://punaro.com/2012/01/derek/modifying-a-sharepoint-2010-workflow-email/comment-page-1/ which appears to walk through the process of modifying an out of the box workflow's mail message.
    However, there is a basic problem that I run into before I get started.
    I am logged into the system as a regular user (ie not a farm admin, etc.).
    I do, however, have full control on the site on which I am working.
    I create a custom list.
    I create a simple one step approval - sharepoint 2010 out of the box workflow.
    I start SharePoint designer and give it the URL of the list. It opens up and I see the various objects on the left side of the screen.
    I click right on the Workflows object - which is where the article says I will find the ability to copy and modify the workflow.
    All I see is "open", "open in a new tab" and "Pin".
    I selecdt open in a new tab - and I get a blank screen labeled workflows that says "There are no items to show in this view".
    So, I click on Lists and Libraries, then on the name of my custom list.
    When the list displays, the Workflows section of the page has a "Modified Workflow" displayed.
    When I right click on it, no menu is shown. When I click on the modified workflow, I get the workflow settings page for that workflow.
    I am trying to figure out how to create the copy of the workflow so that I can modify one of the mail messages in SharePoint designer.
    Is there someone who has some advice on how to find this copy and modify option?  Or perhaps a web site, web forum, article series, or book covering the topic?
    Thank you! 

    Hi lwvirden,
    According to your description, my understanding is that you want to modify the OOB approval workflow in SharePoint Designer.
    After opening the site in SharePoint Designer, just click Workflows in the left panel and then the workflows in the site will load in the right part.
    If you want to copy and modify the OOB approval workflow, then you need to right the approval workflow
    Approval – SharePoint 2010 under Globally Reusable Workflow. After that you will see the
    Copy and Modify button.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Trying to set up an out of the box SP 2010 approval workflow that doesn't generate warnings or errors

    I have a custom list for which I want an approval workflow.  There is only going to be one stop for the approval - creating an item is a request to a person for a new code to be created. 
    If I do not turn on content approval, then I get the message:
    The workflow could not set content approval status. Enable content moderation for this list and run the workflow again.
    When I turn on content approval, then when the users go to the custom list to create an item, they see this message:
    Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights.
    Surely I am missing something obvious. I just want a standard SP 2010 form without warnings to gather info from the user, then to create a workflow task that sends a person an email that they need to approve or reject the request.
    The second message is going to cause questions from the users. The person who has to approve the tasks wants to be able to see what requests are awaiting approval vs approved vs rejected.
    Is this something that is not doable in SP 2010?

    the "Approval Process" step is designed for manipulating the "Moderation Status" (Content Approval status) of a list item... What you are seeing is DESIGNED behavior.
    When Content Approval is enabled, content changes are not made public until they have been approved. The Approval workflow sends the email to a manager, who is supposed to approve or reject the change.
    If Content Approval is DISABLED, there is no point to the workflow.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Out of the box approval workflow suddenly failed on start (retrying)

    SharePoint 2010. I've been using out of the box approval workflow for several month now. I did some minor changes to it, like to who and when emails should be send, but that's all.
    Then out of a sudden it stopped working. New request status is "Failed on start (retrying)". Sometimes (!) status is "In Progress", but no tasks are created. In both cases there is nothing on workflow history and error report is also empty
    (it even cause an error "Report contains no data").
    I'm sure that I didn't change anything in a workflow. The only think that I changed was an InfoPath form, but I only added there field "Created By", so I would see in calendar later who created this request. I couldn't see how this might affect workflow
    process.
    I'm confused as I don't even know where to start searching for the solution. Why this might happen? Any ideas are very welcome!

     In my list I have a multiple choice field which is not required. When it was
    blank my workflow was failing on start! This field was not involved in a workflow directly, I included it only in the email to approver. When I deleted it from an email everything was fine.

Maybe you are looking for

  • Imbed ical calendar into webpage

    is there a way to set up an iweb page so that an ical calendar uploaded to mobileme can be shown? currently, i just have a page that says "click here to view the calendar," but i would like the actual calendar to be shown on the page.

  • Can I use a second monitor and have an extended desktop

    Thinking of getting a new imac. Maybe the "20. I was wondering will I be able to hook up a second monitor and be able to either mirror the desktop or have an extended desktop. Will it work in windows? ibook   Mac OS X (10.4.7)   ibook   Mac OS X (10.

  • Multiple USB Audio Outputs?

    Is it possible to set up the mac mini to have multiple USB audio out puts? I'm wanting to use a mini displayport + usb audio > hdmi cable to a plasma for computer use. But is I want to listen to just plain music use USB audio to a DAC into a 2 channe

  • How to get products in E-Service Complaints and Returns ?

    Hi Gurus, We have a Complaints and Returns application in which we want to implement the product search functionality similar to the search we have in B2B application using TREX. If anyone already implemented or having any idea of how to implement th

  • Starting weblogic cluster and admin server on Win 2000 platform

    Hi! Here's my problem scenario: I'm running my WLS 8.1 application as WLS cluster on Win 2000 platform. I have 3 replicated WLS servers in my cluster and of course one WLS server as admin server (4 WLS servers all together). I'm starting my WLS appli