Question OTL Timecard (Auto-Approval).

Hi All,
I'm facing a problem while uploading the time via OTL API's.
I'm using below OTL API's to upload the time.
1.hxc_timestore_deposit.create_timecard_bb
2.hxc_timestore_deposit.create_day_bb
3.hxc_timestore_deposit.create_detail_bb
4.hxc_timestore_deposit.execute_deposit_process
By these API's I am able to submit the timesheet with status as 'SUBMITTED' but not as the 'APPROVED' status.
Is there any setup/profile option to auto-approve these timesheets.
Can any of guys let me know what is the exact issue.
Thanks in Advance.
--Raja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Raja,
What is the approval style defined for the timecard?
Timecards are always created in the Submitted or Saved mode. If you want the auto approval, make sure that the corresponding approval style is defined in the setup.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Timecards Auto approve

    Hi,
    I have a requirement to auto approve the time cards of the employees
    but in case of exceptions like Delay or No show
    the time card should be assigned to his supervisor to approve it
    it's all done now but the problem that when I submit a card contains normal and exceptional hours type
    only the exception is shown to the supervisor
    for ex.
    regular hours : 6 hrs [won't be sent to supervisor]
    delay : 2 hrs
    the delay hrs only will be sent to approval
    But I want to send the whole time card with all the records
    Any Idea ??
    thanks in advance
    BR,

    You should use a data interdependency rule in the approval stylle to identify if there is a 'delay' component in the timecard.
    The approval data interdependency rule is a type of Time Entry Rule which evaluates the data on the timecard and returns a value to OTL indicating 'Requires Approval' or 'Does NOT require Approval'. If you use this in an approval rule, the rule components (e.g. who will approve) will only be executed if approval IS required. Otherwise, it can default to Auto-Approve.
    Your data interdependency rule could include a time category as a way of identifying if there is any 'Delay' entered.
    Hope that helps explain how it should work.
    Regards
    Tim

  • Timecard auto approve

    Hi,
    I have a requirement where in the approval should go to HR Supervisor if he is a admin(Exempt enployee), Project manager for Projects and if they do not approve in 48 hours it should auto approve.
    Can someone please help me with this???

    You can write the time entry rule and based on the scenarios, set the corresponding approval styles of auto approve or HR supervisor or project manager. Your TER will return the approval style based on your logic which will be applied on the timecard for approval.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to setup timecard auto approval for ceo...no supervisor

    we are currently running approvals on timecard based on supervisor
    the ceo does not have a supervisor and we would like it to autoapprove
    we are having trouble getting it working
    any thoughts ideas? how have people done this?

    also
    u can use
    NOTE:
    You have "OTL: Defer approval process on timecard submission" profile set to YES -
    which means notification will be sent to the approver only after "Workflow Background Process" has been run.
    and
    1. Log into 'System Administrator' responsibility
    2. Navigate to: Profile > System
    3. Check 'Responsibility' checkbox and enter the responsibility you are using to run 'Workflow Background Process'
    4. Enter "PA: AutoApprove Timesheet" in the 'Profile' field and hit 'Find'
    5. Set "PA: AutoApprove Timesheet" profile to YES at the responsibility level. Save the changes.
    on user
    Regards,
    Khalid Seif
    HRMS Lead Consultant
    [email protected]

  • Timecard submitted from OTL Timekeeper screen is auto approved.

    Hi all
    Timecards submitted from OTL Timekeeper screen are auto approved even if I set the Time Store Approval Style preference to Supervisor Approval and link the preference to Timekeeper responsibility using Eligibility Criteria tab.
    I am expecting the timecard should go for an approval to supervisor since the approval style preference is set to Supervisor Approval but its auto approved as soon as the timecard is submitted. May I know the reason why the timecard is auto approved or am I missing any setup to send the approval notification to supervisor. Here the customer would like send the approval notification to supervisor if the timecard is submitted from timekeeper screen. Please advice.
    Please note that timecard submitted from self-service time is sending the approval notification to supervisor as expected.
    Thanks for your help.
    Regards
    Nag

    Hi
    Thanks for the response.
    As per my understading, prefereces linked to responsibility wouldn't be considered if the timecard is submitted for approval through timekeeper. In my case, i have three different users employee, admin & manager. If either employee or admin submit the timecard then it should be sent to approval for manager. If manager submits the timecard then the timecard should be autoapproved. Pls note that all three will be using three different responsibilities to submit the timecard. I have created 4 differents of preferences.
    The preferences are linked as follows:
    Default preferece (Auto Approval) linked to All People with precedence 10
    Employee preference (Supervisor Approval ) linked to Self-Service Time responsibility with precedence 20
    Admin preference (Supervisor) linked to OTL time-keeper responsibility with precedence 30.
    Manager preference(Auto Approval) linked to OTL Super Time-Keeper responsibility with precedece 40.
    With the above setup, approvals are working fine as expected but if the timecard is submitted by admin then it's getting auto-approved.
    To fix the issue, i have changed the setup slightly as below
    Default preferece (Supervisor Approval ) linked to All People with precedence 10
    Employee preference (Supervisor Approval ) linked to Self-Service Time responsibility with precedence 20
    Admin preference (Supervisor) linked to OTL time-keeper responsibility with precedence 30.
    Manager preference(Auto Approval) linked to OTL Super Time-Keeper responsibility with precedece 40.
    With this setup, timecard submitted by admin is going for an approval to manager (as desired) but if manager submits the timecard then the workflow sends a notification to the manager for approval which is not expected.
    Is there anyway to have different approval styles for both manager & admin. If admin submits then it should be sent for approval otherwise if manager submits then it should be auto approved.
    Please advice.
    Thank you so much for your help.
    Regards
    Nag

  • OTL - Auto Approving timecard

    Hi,
    We have got an issue where timecards get auto approve for cases given in metalink note 443432.1. What I want to know - is there anyways we can stop auto approve? Through some profile option or something.
    Thanks!

    The approval style form includes a number of components.
    The first component is a 'data interdependency rule'. In this section you can create a validation rule for whether the data needs approval. This can be done for each receiving application for the timecard information.
    The second section determines the approval method. e.g. HR Supervisor, Project Manager etc.
    IIn the data interdependency section, the rule is coded in a Fast Formula. The FF can call an external function, so basically any logic is possible. The prupose of the rule is to return a flag indicating if the data for a specific application needs approval. If the FF returns Y(es) then the subsequent approval method for that application will be invoked.
    Using this method, you can control what data requires approval and what does not.
    If you extend this to use time categories, you can effectively determine if a subset of data requires approval.
    Hope this help! It's a rather complex part of OTL that can take a long time to explain.
    Regard
    Tim

  • OTL Timecard Rejection/Resubmission

    Hi All,
    I am working on OTL Timecard Approval Workflow. I have a requirement as mentioned. Please let me know if it is feasible or not.
    Approval Style used is Project Manager.
    Hence when timecard is submitted, it is split into the number of projects in the timecard and sent to project manager's approval.
    I have a second level of approval also which I have achieved through workflow customization.
    The main scenario is as below.
    An employee submits a timecard with 2 different projects.
    Project manager of first project approves and is routed to next level of approval.
    Project Manager of second project rejects the timecard.
    Requirement
    In that case, employee has to resubmit the timecard after making necessary changes and should be routed only to the person who rejected the timecard.
    But, in general, when a timecard is submitted again, the previous workflow is cancelled and whole new workflow is triggered, which will send notifications to all.
    Is there way to achieve this?
    Waiting for your inputs.
    Thanks,
    Anand

    HXCEMP workflow is not responsible for displaying the timecard information in the notification. It just routes to the relevant approver,
    Did you configure the Notification layout as well (along with Time entry layout)? You need to have the similar changes to Notification layout.
    Ramu

  • Auto Approval By Manager

    Question: I am implement 2 level approval work flow. first approver is "Manager" and second approve is "Group". If admin rasied a request for new user. First it will go for Manager Approval and then Group approval. This is done.
    But I am facing problem in second use case that is
    If "Manager" will raised a request, It should be auto approved finally it will go for "Group approval".
    I have tried the mapping in process definition requester for variable request info : requester login and target manager variable requester info : requester manager.
    Can you please tell me the mapping in process definition.
    Thanks,
    Sachin

    Hi,
    In the process definition. I have create Check manger task, I have add one adapter to check requester is manger or not.
    If manager then it is auto approved.
    I don't know to which field I have to map the request info fields. I mean requester and target manager.
    How will i get the target manager info.

  • OTL HR Supervisor approval routing to different HR Supervisor

    Hi ,
    Can anyone help me with this...
    My client is global and we have implemented OTL in Germany BG and US is corporate Head quarters.
    My approval style is HR Supervisor. The problem here is employee and his hr supervisor is in Germany BG , but some how it is routing to vice president in US business group.
    Can someone help me with this please???

    Thanks for reply Raj......
    Everything was checked already, and there was no update or correction in record,and this happened only when i change approval style from auto approve to HR Supervisor in month of feburary and then I again had to change it to auto approve in March.....

  • List of notifications which got auto approved

    Hi Experts,
    Can you please let me know the query to track list of notifications(Timecards) got auto approved? What is the status if they had auto approved?
    Thanks
    Regards,
    MK

    If you can identify the routing rule in WF_ROUTING_RULES then you can create a query using it along with WF_NOTIFICATIONS (columns MESSAGE_TYPE, MESSAGE_NAME) - could add WF_COMMENTS to be more precise.
    If you cannot spot the routing rule in WF_ROUTING_RULES then this can prove difficult.

  • Auto Approval EBP Purchase Order is not updating the status at the header

    Hi There ,
    We are facing an issue in EBP auto approval PO ,
    The process level schema is set to Auto Approval  (Standard 9CBUS2201_EX01_55)
    During the PO creation , the standard schema is triggered and it gets approved .
    The status of the PO in the Approval Tab is showing as Approved .
    But in the docuemnt level the status is still Awaiting Approval .
    While checking in SWI1 we came to know that an error has happened in the Task TS40007972
    and the Guid ID of SRM Purchase is initial that has made the status(EV_STATUS) as initial .
    The ERROR is from the below class & method.
    Class: /SAPSRM/CL_WF_PROCESS_MGR_SBWF
    Method:GET_PROCESS_DECISION_STATUS
    Can anyone suggest to overcome this issue .It will be very usefull if anyone could suggest debugging possibility if any .
    Regards,
    Arun.

    Have you tried notes?
    1625513 - Workflow without approval is Awaiting approval status
    1724251 - Workflow log error: CREATE_DECISION_SETS cannot be executed

  • Auto Approval of Self User Registration Fails OIM 11g R2

    Use Case : Auto Approval of Self User Registration
    Steps followed
    1. A New Approval Policy created with Auto Approval flag set as True for Request Level Approval.
    2. A New Approval Policy created with Auto Approval flag set as True for Operation Level Approval.
    3. The field Organization was pre populated using the Pre Population Adapter, as mentioned below.
    +<AttributeReference name="Organization" attr-ref="act_key" type="Long" widget="ENTITY" length="256" required="false" available-in-bulk="false" entity-type="ORGANIZATION">+
    +<PrePopulationAdapter name="OrgPrepopulateAdapter" classname="com.plugin.OrgPrepopulateAdapter"/>+
    +</AttributeReference>+
    4. A new user was created using the "Register New user" Link.
    5. Log in as System Adminstration and under Track requests, found that the New request has failed.
    6. On click of Request link, the request details shows the Organization field has populated with the expected value.
    7. The Logs suggests that the Request failed due to Organization field going Null.
    LOG
    [2013-02-12T15:50:39.138+05:30] [oim_server1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: e171ff3c1743d36a:6c2e4f90:13ccdc4a231:-8000-00000000000006f8,0] [APP: oim#11.1.2.0.0] Exception thrown java.lang.IndexOutOfBoundsException: Index: 0, Size: 0     
    [2013-02-12T15:50:39.138+05:30] [oim_server1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: e171ff3c1743d36a:6c2e4f90:13ccdc4a231:-8000-00000000000006f8,0] [APP: oim#11.1.2.0.0] Exception thrown Index: 0, Size: 0[[     
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0     
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.iam.requestactions.approval.operationlevel.OrgBasedMethodology.getOrgDetails(OrgBasedMethodology.java:215)
    -------------

    Use Case : Auto Approval of Self User Registration
    Steps followed
    1. A New Approval Policy created with Auto Approval flag set as True for Request Level Approval.
    2. A New Approval Policy created with Auto Approval flag set as True for Operation Level Approval.
    3. The field Organization was pre populated using the Pre Population Adapter, as mentioned below.
    +<AttributeReference name="Organization" attr-ref="act_key" type="Long" widget="ENTITY" length="256" required="false" available-in-bulk="false" entity-type="ORGANIZATION">+
    +<PrePopulationAdapter name="OrgPrepopulateAdapter" classname="com.plugin.OrgPrepopulateAdapter"/>+
    +</AttributeReference>+
    4. A new user was created using the "Register New user" Link.
    5. Log in as System Adminstration and under Track requests, found that the New request has failed.
    6. On click of Request link, the request details shows the Organization field has populated with the expected value.
    7. The Logs suggests that the Request failed due to Organization field going Null.
    LOG
    [2013-02-12T15:50:39.138+05:30] [oim_server1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: e171ff3c1743d36a:6c2e4f90:13ccdc4a231:-8000-00000000000006f8,0] [APP: oim#11.1.2.0.0] Exception thrown java.lang.IndexOutOfBoundsException: Index: 0, Size: 0     
    [2013-02-12T15:50:39.138+05:30] [oim_server1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: e171ff3c1743d36a:6c2e4f90:13ccdc4a231:-8000-00000000000006f8,0] [APP: oim#11.1.2.0.0] Exception thrown Index: 0, Size: 0[[     
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0     
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.iam.requestactions.approval.operationlevel.OrgBasedMethodology.getOrgDetails(OrgBasedMethodology.java:215)
    -------------

  • OIM 11g R2 - SOA error with Auto Approval

    Hi,
    I am trying to provision a resource through catalog wizard as an end user .I have created both Operational Level and Request level approval policies with Auto Approval Enabled.The RequestID is getting generated but I am getting the following error in screen
    [Security:090304]Authentication Failed: User SOAAdminPassword javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User SOAAdminPassword denied
    May I know where should I go and change the SOAAdmin Password ?.Thanks.

    I've run into the same error with oim 11gr2 bp04:
    <Mar 18, 2013 11:07:09 AM CDT> <Notice> <Stdout> <BEA-000000> <<Mar 18, 2013 11:07:09 AM CDT> <Error> <oracle.soa.services.identity>
    <BEA-000000> <<oracle.tip.pc.services.identity.jps.AuthenticationServiceImpl.authenticateUser()> authentication FAILED>>
    <Mar 18, 2013 11:07:09 AM CDT> <Notice> <Stdout> <BEA-000000> <<Mar 18, 2013 11:07:09 AM CDT> <Error> <oracle.soa.services.identity>
    <BEA-000000> <<.> Identity Service Authentication failure.
    Identity Service Authentication failure.
    Either the user name or password is incorrect. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.
    ORABPEL-10528
    Identity Service Authentication failure.
    Identity Service Authentication failure.
    Either the user name or password is incorrect. Check the error stack and fix the cause of the error. Contact Oracle Support Services if error is not fixable.
         at oracle.tip.pc.services.identity.jps.JpsProvider.authenticateUser(JpsProvider.java:2337)
    Caused By: javax.security.auth.login.LoginException: [Security:090304]Authentication Failed: User SOAAdminPassword javax.security.auth.login.FailedLoginException:
    [Security:090302]Authentication Failed: User SOAAdminPassword denied
         at oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule.login(JpsUserAuthenticationLoginModule.java:71)
         ...Did you find what the issue is? I'm finding scant information about this user named "SOAAdminPassword" (who makes up these usernames :-/).

  • Auto Approve of Workflow in Seconds

    Hi Experts,
    I want to auto approve workflow based on certain conditions.
    But the approval should be in seconds instead on MIN.
    please guide me.
    -Regards
    Rohit

    Hi,
    What is causing the delay? If approval is done through an event and you have the event queue active, you might consider not using that functionality (I have stopped using the event queue for some time now)
    Also you cannot auto approve workflow, that doesn't make sense. You can only control the proces flow of tasks used in the workflow.
    Kind regards, Rob Dielemans

  • Auto approval for self registration request in OIM 11G R2

    Hi all,
    We have a requirement where we want end users to be able to self-register without needing any sort of approval. We are using OIM 11G R2 with the latest patchset.
    The way to do it in 11G R1 is explained in the following document:
    [http://docs.oracle.com/cd/E21764_01/doc.1111/e14316/unauth_selfservice.htm#BABFEIBF]
    But now that R2 does not have any request templates, we are not sure how to do this. Any help will be greatly appreciated. Thanks for your time.
    -sandeepc

    refer this.
    Configuring Auto-Approval for Self-Registration - Fails due to Organisation

Maybe you are looking for