Request to review the custom workflow logic in E recruting

<b>Requirement:</b>
The purpose of this workflow is to change the status of the candidate to “Rejected” if they are not selected in the selection process and also to change the status of the requisition to “Closed” when a candidate is selected. The workflow is triggered when the system is updated to reflect that the candidate has accepted the offer.
<b>processing details:</b>
• When a candidate has accepted an offer, an activity “Offer Accepted” is created in the Status Change infotype (IT5139). This will trigger the workflow.
• The workflow will check the Candidacy infotype (5133) for all other candidates who have applied for the same position and reject the candidate by creating a “Rejected” activity.
• Simultaneously the workflow should change the status of the Requisition Info type to closed, so that the requisition status is closed
<b>
Logic</b>
<b>Step 1</b>: Candidate accepts the offer (Trigger)
When the Candidate accepts the offer, i.e. if in the table HRP 5139 (Status change infotype which stores the activities which result in status change of candidate) for the keyed in value of object type ‘NE’ (Candidacy) plan version Current, with the keyed in start date and the end date the value of the field ‘ACT_CAT’ (activity category) is ‘5100-Offer Accepted’, the workflow should trigger
<b>Step 2</b>: Change Status of Non-Selected Candidates to rejected
A) Check infotype, table HRP 5139(Status change infotype which stores the activities which result in status change of candidate) for keyed in value of object type ‘NE’ (Candidacy) plan version Current (field name PLVAR), with the keyed in start date (field name - BEGDA) and end date (field name-ENDDA) the value of the field ‘ACT_CAT’ (activity category) is ‘5100-Offer Accepted’ or not
If it exists then no action,
If not then,
B) Trigger (create) the activity “5010-Rejection” (field name “ACT_TYPE”,) in the table HRP 5139 (Status change infotype which stores the activities which result in status change of candidate) for the object type ‘NE’(Candidacy) plan version ‘Current’ with the keyed in start date (field name- BEGDA) and end date (field name-ENDDA) and save ,
<b>Step 3</b>: Close Job Requisition
A) Derive the value of object id for object type ‘NB’ {Requisition (related object type)} in table HRP 1001, subtype A654 (Relationship between Candidacy and Requisition) for the keyed in value of the object type NE (Candidacy) plan version ‘Current’ with the keyed in start date (field name- BEGDA) and end date (field name-ENDDA) .
B) For the above derived value of Object type ‘NB’ (Requisition), change the status of the table HRP 5125 (‘Requisition information’ infotype that stores the status of the ‘Requisition’), to closed field name “STATUS” ‘value 2-closed’ plan version ‘Current’ with the keyed in start date (field name- BEGDA) and end date (field name-ENDDA).
Request to Check the workflow logicand provide your valuable comments.
Thanks and best regards
Rajeev

Hallo Rajeev,
better forget the idea of the standard sap workflows - they are just examples and my opinion is: they are bad ones.
I understand the topic, although so far I did not encounter any customer / hr department which was giving the system so much power through automatization. You also will never be able to hire more than 1 person on 1 requisition. But this is all requirement analysis not solution (although the sencond one is not possible w/o the first one - "pigs will fly before I implement a workflow just the way the hr department described and requested it" ;o).
Your description is quite rough from my point of view. The workflow landscape is missing to tell you if this steps are enough to get your things done correctly and of course without your processes no serious workflow programmer will give his ok to a workflow soluition.
What I see as a problem you defined everything based on tables. E-recruiting is an object oriented solution. You never go down to table level for workflows you not even use the hr function modules. You always have to use the service funtions contained in classes like the cl_hrrcf_*_bl ones.
If you change to service functions you are at least not completely wrong based on what you described as your approach. But for a real complete analysis everyone would have to dig into the processes what is usually impossible as they are company secrets.
Best Regards
Roman Weise

Similar Messages

  • How we can find the customized workflow in Oracle Apps 11.5.10.2

    Hi all,
    I am new to Oracle Workflow and I want to know, How many customized workflow is running in my oracle apps 11.5.10.2.
    Thanks & Regards
    Rakesh Kumar

    An another possibility is to do the opposite to what I just wrote. Upload the true definition to the database an compare with the one you are not sure about via SQL:
    1. Backup the WFT file where the standard/seeded workflow is provided
    2. Edit it and change the name of the ITEM_TYPE. For instance, change it from OEOL to OEOL_TMP (cannot exceed 8 characters)
    3. Upload it to the database with WFLOAD
    4. Compare the design tables for the two if them (WF_ITEM_TYPES, WF_ACTIVITIES, WF_MESSAGES, WF_PROCESS_ACTIVITIES, WF_ITEM_ATTRIBUTES, etc). If the table provides a VERSION column then the query would need to use a WHERE END_DATE is null (so that you get only the active/current version of the object). A select... MINUM select would do the job.
    I would do this in test though, to avoid a mistake can cause any issues.
    Regards,
    Alejandro
    Edited by: Alejandro Sosa on Feb 4, 2013 7:07 AM

  • Query to find the Custom Workflow Inventory

    Hello all,
    Is there anyway i can find out the list of Custom or all the workflows which have not been initialized or used since last 2 years? We are trying to clean our inventory of custom workflows.
    Thank You
    KK

    Hi,
    You can check
    select name,display_name
    from wf_item_types_vl wit
    where not exists (select 1
                  from wf_item_activity_statuses
                  where item_type = wit.name
                  and  trunc(begin_date) >= trunc(sysdate -720));this table will give all transaction data by passing name as internal name of Workflow .
    select * from wf_item_activity_statuses where item_type = <YourCustomItemType>;
    Thanks,
    Jit

  • How to integrate the custom workflow in UWL?

    Hi Gurus,
    How to get he custom workflow  task or alerts into my UWL page or iview?
    Please if you have step by step approach of the same kidnly share with me
    Thanks in Advance,
    Dharani

    Dharani,
    Try this Document,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45
    Ram

  • How to Create Service request to notify the customer

    Hi All,
    Could u please tell me the which function module is used for  Create Service request to (SAP-CRM) notify the customer

    Hi Prajit,
    I have an assignment to create customized service request, for submitting user access request by using service desk, this template which i need to create different from the Standered one, which created by SMRQ (i guess).
    As far as i know from diff forum, when we submit an request order, internally system create service request for each approved item line.
    My requirement to just create below request (template), so user can submit access request by using Solman service desk (service request).
    Please help me.

  • Including transport request while modifying the custom table

    Hello Experts,
    I have a scnerio like, I have to insert/modify some records in my custom table. Now we want that these records should come under a transport request, so that we can track which records are for which user.
    I am developing a report and including a parameter for transport request in the selection screen. So the report will take TR number directly from selection screen, but how to include it for the records inserted.
    Regards,
    Harjeet

    Hello Altaf,
    I think you did'nt understood my issue. I am not using and transaction. I am creating a report program which inserts new entries into my custom table based on the flat file on my presentation server.
    Now I want these entries to be inside a transport request which is there in the selection screen.
    Hope this gives the clear idea of my specification.
    Regards,
    Harjeet

  • Replace AR Credit Memo Request Workflow with a new Custom Workflow

    Hello friends,
    We have a business requirement to replace the AR Credit Memo Request Workflow with a new Custom Workflow whenever an Invoice is disputed (Oracle Advanced Collections).
    The Credit Memo Request workflow is being launched within the Oracle API arw_cmreq_cover. We thought of an approach wherein the Oracle form IEXINDTL.fmb can be renamed and the Custom workflow to be called in the WHEN-BUTTON-PRESSED trigger on Dispute Button instead of calling the program Unit IEXINDTL_CONTROL.DISPUTE (as in standard form) which inturn calls several API's and hence the AR Credit Memo Request Workflow. But this would override the other standard processes being carried out in these API's. Our requirement is to only replace the AR Credit Memo Request Workflow and not to override the other standard processes.
    Does anyone have come across the similar requirement? Please let us know your inputs.
    Thanks in Advance !

    I ran across the same error today. Since it's been over a month, I assume you've fixed it already or decided you didn't need it at all? What was your fix?
    For me, I noted that in the sample directory, a similar "createView" call (in End User Anonymous Enrollment) also includes this argument:
    <Argument name='viewId' value='User'/>
    When I added that to my createView call, the "Missing view id" error went away, and the user are gets created.
    I'm not entirely comfortable with the value specified, though; seems like view IDs should be more unique. I would have thought it should have been something like this instead:
    <Argument name='viewId' value='User:$(accountId)'/>

  • How to register custom workflow in oracle apps ?

    Hello
    I am new to workflow. I have customized an oracle standard workflow and now i want to register this custom one. Please help how to register the custom workflow. What steps need to achieve this.
    Thanks

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Custom Workflows in ContentDB (OCS 10.1.2.3.0)

    Hi,
    One of our clients is doing couple of enhancements to their ContentDB system. As part of this enhancement, I'm looking for a better understanding about how Parallel-Vote works internally and would really appreciate if you could direct me to some pointers for the same. Please find below details on the Scenario/Requirement that I'm implementing.
    Scenario
    Before a document can be moved into Folder-X in ContentDB, it goes through a parallel-vote approval process. For this, we have defined a Parallel-Vote-Custom-Workflow on Folder-X (this gets triggered off on the "Move" event on Folder-X).
    As a result of this, whenever a document is moved into Folder-X, an approval request is raised - and an authorized person needs to approve it.
    Requirement
    1. When this document is approved to be placed into Folder-X, they want the same document to be copied into another folder "Folder-Y" as well.
    2. The approval request title has the format "Move Request for Document-A". The request-title needs to be tweaked to just say "Document-A" without the rest of the message. (Its a nice-to-have feature)
    To implement these, I'm trying to understand how Parallel-Vote is internally implemented in ContentDB. Is this internally implemented using a BPEL process? I checked the Custom Workflows defined in OEM and could not find Parallel/Serial Vote listed among them. So am just trying to find out, is there a way I can get a hook to the approval process happening internally so that I can implement the above requirements.
    Thanks
    Antony

    We've done it on a seperate AS 10.1.2.0.2, it works and i'ts normally a supported configuraiton. Of course you will also need an OCS database to store ocs data.

  • Custom Workflow

    Hi All,
    I am writing Custom java code to get the Requester login ID in the Custom Workflow. Can Anybody please tell me which API i can use to retrieve the requester details.
    Thank you

    You should refrain from multiple postings for the same question.
    Steps as already shared with you:
    1. Get the requester information from the payload. (In the Oracle sample the request Id is brought from the payload, similarly you can get the requester id and etc).
    2. Get the target user information from the payload along with target user's manager.
    3. Set the data from the two above into global variables and copy them into your .task variables.
    4. In the task use two serial stages and inside the stage use the skip rule condition with the variables from step 3. (http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_hwfmodel.htm#BABHJEFC)
    -Bikash

  • Launch Custom Workflow thru Business Event

    Hi ,
    My requirement is to launch a Workflow Approval process after creating a Transaction Record in Oracle Apps.
    (1) Is it a good practice to invoke the custom workflow (from PLSQL) from a database trigger on the TRX table?
    (2) Instead, can I define an event or use a pre-defined business event to invoke my customer WF?
    (3) If so, is it sufficient while defining "Event Subscription", just set action type "Launch Workflow" and set workflow details? or do I still need to define an Receive Event Activity in my customer WF?
    Thx, Suresh

    Hi,
    1 - It's probably neither here nor there, to be honest. If it can be avoided, then I would always avoid launching a process from a trigger. However, you may have no other choice than to fire the workflow from a trigger - bear in mind that you will need to defer the process to the background and run a background engine later to start the process off, as the first node will issue a savepoint which is not allowed in a trigger.
    2 - Yes. If you are defining a custom event, you will still need to raise the event in some manner, though. If you can hook into a seeded event, then that's the best way to do it.
    3 - The workflow process needs to have a receive event node to receive the event. If you are starting the process, then this needs to be set as a Start node. You will then have to ensure that the event gets raised.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Need help in customizing workflow

    Hi All,
    Need your help in customizing APINVAPR workflow.
    Please help in clarifying below point.
    How APINVAPR is mapped to invoice approval process,for PO we use document type form to map the POAPPRV workflows when we customize we will map the custom workflow XXXPOAPPRV to make our workflow work.
    Similarly how will we customize APINVAPR and map the workflow, pls let me know your thoughts.
    My requirement is to customize the APINVAPR workflow and increase the escalation days, during the Invoice Approval Process/Escalate Document Approval activity escalation will happen in 5 days, i need to increase it by 60 days.
    If anyone have worked in similar requirement, please help.
    Also while downloading getting following error
    While downloading workflow APINVAPR, getting below errors
    Item type APINVAPR
    wferr:
    - 1300: Could not load.
    - 1114: Could not load from database.
    - 1115: Could not load all definitions referenced by 'APINVAPR' item type.
    - 1115: Could not load contents of 'APINVAPR' item type.
    - 1101: Could not load item types from database. FILTER=APINVAPR
    - 210: Oracle Error: ORA-01480: trailing null missing from STR bind value. SQL text: SELECT protect_level, custom_level, name, display_name, description, wf_selector, read_role, write_role, execute_role, persistence_type, to_char(persistence_days) FROM wf_item_types_vl WHERE name like :itemtype ORDER BY name
    But it was fine when i downlaod POAPPRV.
    Any one face similar kind of issues, please help.
    Thanks
    Badsha

    Hello,
    I am also getting the same error.
    WFLOAD apps/apps 0 Y DOWNLOAD file_name.wft INVADJTO
    Item type INVADJTOwferr:
    - 1300: Could not load.
    - 1114: Could not load from database.
    - 1115: Could not load all definitions referenced by 'INVADJTO' item type.
    - 1115: Could not load contents of 'INVADJTO' item type.
    - 1101: Could not load item types from database. FILTER=INVADJTO
    - 210: Oracle Error: ORA-01480: trailing null missing from STR bind value. SQ L text: SELECT protect_level, custom_level, name, display_name, description, wf_selector, read_role, write_role, execute_role, persistence_type, t o_char(persistence_days) FROM wf_item_types_vl WHERE name like :itemtype ORDE R BY name
    The item type exists in system. It is a seeded one.
    Can anyone help on this !!!
    Thanks

  • Custom workflow activities

    I need to write a custom workflow to get more opportunities in the list of opportunities and then generate invoice with details.. do you have an idea??
    thanks.

    After having registered the custom workflow activity, you should have to restart Asynchronous process service and IIS...
    My blog : http://mscrmtools.blogspot.com
    All my tools for Dynamics CRM 4.0 on my dedicated site:
    MSCRMTools Repository
    Upgraded tools for Dynamics CRM 2011!
    View Layout Replicator for Microsoft Dynamics CRM 2011
    Searchable Property Updater for Microsoft Dynamics CRM 2011

  • How to call custom OAFregion in custom workflow

    Hi,
    We have created a custom workflow and we want the OAF regions to be called in that workflow.
    where should we call the OAF regions in the custom workflow
    Regards,
    Krishna

    Hi,
    I think you would get a better/faster response if you post your question in [Technology - OA Framework|http://forums.oracle.com/forums/forum.jspa?forumID=210] forum.
    Regards,
    Hussein

  • Trigger custom workflow from a custom form

    Hi all,
    I have to trigger a custom workflow from a custom form.
    I am working on 11.5.10 using forms 6i.
    Please suggest how to trigger a custom workflow from a custom form and what are the pre requisites and additional settings to be done for this.

    Hi,
    Please follow the below mentioned steps in order to achieve the desired solution:
    1. Create the custom workflow and compile it in data base.
    2. Customize the form to trigger the custom workflow using 'WF_ENGINE.CREATEPROCESS' API.
    3. Pass parameters as 'ITEMTYPE', 'ITEMKEY', 'PROCESS NAME' AND 'USER KEY'. Though user kay is not mandatory, it helps to identify the workflow if searched using status monitor.
    4. After calling create process, set the required workflow attributes and call API 'WF_ENGINE.STARTPROCESS' to start the workflow.
    5. Make sure you commit the activity after successful call.
    Let me know if you need any additional information.
    Regards,
    pP.

Maybe you are looking for

  • MySQL Database Connection (two databases at the same time)

    I have never had to open more than one MySQL database from within the same website before, but I do now.  The website I have is designed where all the content comes from within the main database.  I am building an Inventory system that I want within

  • Is there any way to recover data from bad ipod hard drive?

    My 60GB iPod photo shows a sad iPod icon, will not connect to iTunes and will not charge. I have recently replaced the battery and it was working for a day, but now I keep getting the sad iPod icon. If I take the hard drive out and connect it with a

  • Form won't email, ISP won't help

    Hi guys, I followed this tutorial to build a form: http://www.peachpit.com/articles/article.aspx?p=1332862 but when it comes to getting the form content emailed, the tute says to insert just a URL. And even though the tute purports to show the author

  • Set iPad to only scroll through a limit amount of pictures and disable all other apps

    Hi there, is it possible to setup an iPad to only allow users to scroll through 3 or 4 pages, and have all other features disabled?  This will be for a customer display so that people can only view these 3 or 4 pictures and not to be able to use the

  • How to know what soft are installed?

    Hi guys, His someone can tell me how I can know which soft are installed on my Solaris 10. I look on the process but with the result I cannot see those which are not running. I look in /usr/... but I'm a bit lost. Can someone can help?? Thanks