Rejecting a request in Custom Workflow

Hi
I have a custom workflow at operational level for two level of approvals. Workflow is working fine and assigning the request to the correct role but when a user of that role is trying to Reject the request he is getting the error on the console. I can see the below error in logs:
*[soa_server1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: [ACTIVE].ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: level1approver] [ecid: 5d5629f8c05bbdb0:-69d83486:13ccea452b7:-8000-00000000000147ea,1:30185] [APP: soa-infra] <.> Bulk update is not allowed for this Task.[[*
This task expects the user to view task details before acting on it.
Make sure that the task is approved/rejected from task details page. Also ensure that TaskService API which takes task Object as input is used instead of the API which takes taskID as input.
ORABPEL-30094
Bulk update is not allowed for this Task.
This task expects the user to view task details before acting on it.
Make sure that the task is approved/rejected from task details page. Also ensure that TaskService API which takes task Object as input is used instead of the API which takes taskID as input.
As per my understanding the error is trying to say that open the request details page and then reject but the other part of the issue is when i am trying to open the Request details page( by clicking on the approval pending task), OIM is opening a blank pop-up which does not show anything.
Just for the information, We have two Human task in our workflow.
Thanks in Advance
Edited by: iam37 on Feb 16, 2013 4:22 PM

Hi Durga
The second part is not my concern, what i am assuming is it can be the browser issue or some host issue.
But the issue is it is throwing the exception for rejecting the request at first level if we are not checking the task details. But at second level we are able to reject the request without even checking the details.
In my workflow, I have two Human tasks for two different level of approval. My thought is that using two Human task is creating this inconsistent behavior.
Please suggest.
Thanks

Similar Messages

  • How to use EP-ESS Leave Request using Custom Workflow

    Hi Experts,
    Can I use the EP-ESS Leave Request (ESS 1.0 for ERP05) with a custom workflow which is NOT a copy of the standard workflow 12300111?
    Regards,
    Shobhit

    Please post this question on Business process forum.
    U will have to follow the architecture of 12300111 template for ESS leave.
    Even though it says u can use ur own wf!!
    Cheers!!
    Ashutosh

  • 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

  • Customizing request for a workflow

    Dear experts,
    I have created a workflow. I want to move the workflow from one client to other for testing it. For this i need to transport workbench and customizing requests of my workflow. Can you please tell me how to find the workbench and customizing request of my workflow. Is there any option in SWDD which will show the specific workflow & customizing request for that workflow.

    Hi,
    se01 will help you find the transport with your workflow but not the any other transports which may be part of your workflow project.
    se10 transaction can be used to see transports by user.  Check off both customizing and workbench requests since you will have both types of transports.  The user id needs to be that of the developer that created the transport.  Modified vs Released - select both if you are not sure if the transports have been released or not.
    Paul.

  • 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)'/>

  • Custom Workflow - BPEL - delete registered policies

    Hi all,
    I am trying to set up a custom workflow with the Oracle Beehive Custom Workflow Tutorial.
    After some difficulties I finally succeeded in deploying the BPEL-process. Only the integration with beehive does not (yet ;-)) work correctly.
    I need to redeploy the policy, since I would like to change the triggering eventtype. My first trial was to just add the policy once again - but it failed with 'A policy with the same name already exists.' Now I was trying to delete the policy - but that failed with 'No entity found the the given bodn'. 'Beectl list_policies' does not show my policy.
    How can I ever delete or lookup my registered policies?
    Thanks for any help.
    Regards,
    Bettina

    Hi Nickw..,
    Sorry for the multiple repeated updates... it happened because of the slow internet connection
    I am able to get the Worklist task now, but only for the CAPS lettered Users..!!
    The Audit section in the BPEL Console for this process looks like:
    <NAME>IFS_MESSAGE_SUBJECT</NAME>
    <VALUE>Checkout Request 88731 submitted in Content Services</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_REJECT_MSG</NAME>
    <VALUE>Choose <B>No</B> to Reject the request.</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_ECM_WORKFLOW_OWNER</NAME>
    <VALUE>ORCLADMIN</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    <NAME>IFS_MESSAGE_HEADER</NAME>
    <VALUE>A Checkout Request has been submitted in Content Services. You are listed as a responder for this request. Your response is requested. <BR><BR>Request Details:<BR><BR><B> Requester </B> : ORCLADMIN<BR><B> Responders </B> : PRASANT PRASANT1 <BR><BR> For complete request details click here</VALUE>
    <DATATYPE>STRING</DATATYPE>
    </PARAMETERLIST_ITEM>
    <PARAMETERLIST_ITEM>
    1. I am able to get the heading the IFS_MESSAGE_SUBJECT as Checkout Request 88731 submitted in Content Services
    2. But nowhere i can find the IFS_MESSAGE_HEADER in the Worklist screen
    the following:
    For complete request details click here</VALUE>
    Where will be the issue..?
    Thanks in advance....
    and best regards,
    Prasant

  • Send email from custom workflow to group

    Hi!
    We have Office 365 A2 Plan subscription. We use InfoPath form to submit travel request and custom 2013 workflow made in Sharepoint Designer 2013 to route that form for approval.
    If we send email using workflow to individual user it works fine.
    Problem occurs when we try to send email to group. we can't send email to security group made in office 365, distribution group from exchange online or security group in exchange online.
    My question is: is there any kind of group inside Office 365 (Sharepoint Online or Exchange online) that we can send mail to using workflow and if that is possible, how can we do that?
    Thank you,
    SD

    It is simple powershell script and without such small changes it may not work
    May be Office365 team might have given you there AD. If users are in your AD then you need t make sure normally users from outside org can send you email on that email address. 
    Try to use this email address in Office365 and check if that helps. mostly without AD sync it is difficult

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to create a Language Branch using custom workflow?

    Hi,
    I’ve a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches 
    As per the OOTB functionality,
    1.     If the target page is not exist in the Language branch, it will copy the reference page to target path.
    2.     If the target page is already exists, it will not create a copy of the reference.           
    After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
    Example:
    So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
    Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
    When I use above api, it just copies the page and it will not maintain any relation with reference page.
    Any pointers would be more helpful.
    Thanks
    Siva

    Hi,
    I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
    Can anybody help me with this?
    Thx, Lorand

  • Can nested IIf be created in custom workflow (in Designer)?

    I need to explore building a custom workflow in Designer that will allow me to update a hidden field in the list.  Is it possible for me to recreate the nested IIf statement I have written below?  I'm not seeing how to do get an AND operator in
    the workflow designer, nor the nested concept.
    TypeOfChange: IIf([status]="active",
    IIf([program type]="p", "Primaries Approved",
    IIf([program type]="o", "Options Approved",
    IIf([program type]="R" Or [award]="AAS-T", "AAS-T Programs Registered",
    IIf([apprentice]="a", "Apprenticeships Registered",
    IIf([contract]="c", "Contracts Approved",
    IIf([College Report Categories]![title]="collaborations", "Collaborations Registered",
    IIf([Indiv Program Students] is Not Null, “Individualized Programs”,
    IIf([program type]="st","ST Programs Registered")))))))),
    IIf([status]="Title changed", "Titles Changed",
    IIf([status]="removed",
    IIf([program type]="p", "Primaries Deleted",
    IIf([program type]="o", "Options Deleted",
    IIf([program type]="st", "ST Deleted"))),
    IIf([status]="Inactive",
    IIf([program type]="p", "Inactive Primaries",
    IIf([program type]="o", "Inactive Options")), 
    IIf([status]="Reinstated", "Reinstated Programs",
    IIf([status]="Pending", "Pending Requests",
    IIf([status]="NoI Review", "NoI Review Period",
    IIf([status]="Modified", "Curriculum Modifications",""))))))))
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Hi run4it,
    When add multiple compare conditions in workflow condition, it will show the operator AND, then you can try disigning the logic of if else branch sentenses as Andy suggested.
    Thanks,
    Daniel Yang
    Forum Support
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Issue in a custom workflow with Approval Type Notification. Urgent

    Hi
    I have created a custom workflow which contains an approval notification.
    If the user approves/rejects the notification I need to update a table column as Approved or Rejected.
    I have created a function activity,say X, which calls a PL/SQL procedure.
    The issue is,
    when the user approves or rejects the notification, the function X errors out even without entering the PL/SQL procedure.
    Following is the error message
    An Error occurred in the following Workflow.
    Item Type = XXYH_UMX
    Item Key = 55
    User Key =USERKEY:55
    Error Name = -6502
    Error Message = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Stack =
    Wf_Engine_Util.Function_Call(XXYH_UMX_WF_PKG.is_resp_assigned, XXYH_UMX, 55, 242407, RUN)
    Activity ID = 242407
    Activity Label = XXYH_UMX_ASSIGN_RESPONSIBILITY:XXYH_UMX_RESP_ASSIGNED
    Result Code = #EXCEPTION
    Notification ID =
    Assigned User =
    If I go the function from any other function,say Y, (bypassing approval notification) it works fine.
    Can you please help me what could be the issue?
    Thanks,
    Kamath.

    The danger in putting in one activity is that if there is any scope longer-term to expand the process to multiple activities, then it may be better to break it out into a sub-process early in the design phase.
    Generally, you get the feeling from the client fairly early on about whether they have a final design and how likely they are to complicate the process later on :)
    I wouldn't include it as a post notification function myself - it saves a tiny amount of processing time and database space, but at the cost of making it less clear what is happening. Plus you'd need to check the result in the PNF manually - putting it on a conditional branch ensures that you always know what the value is. If the lookup type changes at any stage, you would need to check a PNF to ensure that the code still remains valid; if it's on a branch then the only thing to change would be to change the label on the branch.
    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

  • Problem in Rejecting the purchase order release workflow

    Hai Friends ,
                  I did the purchase order workflow. it will working fine. when a approver refused the release, the intimation need to send to the previous approvers as well as po creator.  but there is no method available in the bus2012 for purchase order rejected. what i want to do  ? 
                     i did the purchase requisition workflow also. In that workflow there is a method in the name of " InfoReleaseRejected".   i used this method in my task it will working fine. but there is no method available for Purchase Order.
    Regads,
    R. Sathis Kumar

    Hai suthakar,
               I created the customized workflow. this workflow working well when the approvers approved. but it is not do anything when approver reject the release.
    Regards,
    Sathis Kumar R

  • ERM Role con't be deleted Automatically after rejecting the request in CUP

    Hi Experts,
    I am involving the GRC implimentation project and ERM component is succefully configured with post-installation activites and also configure the workflow(1-stage) in CUP for role approval.
    After initiating request, the request was sent to appropriate approver for approval process and approved/ Rejected by the approver.For first case(Request approved) everything is looks fine.
    but whenever the request is rejected (second case) by the approver, the role is still present in ERM and ABAP backend as well as.
    please suggest me, if the role is deleted in ABAP/ERM system after rejecting the request by Role Approver in CUP. or still present the role in systems.
    Regards,
    Arjuna.

    Hi Jes,
    We so have a feature called Password Self Service which is used by users to reset their password using CUP. Also if the password is locked by multiple failed attempt, CUP even activate this user.
    However in your case administrator will be locking the user or deactivating the password, so CUP will not allow users to unlock their users as it has been locked by administrator.
    So CUP can only unlock those users which were locked due to failed attempts etc.
    Regards,
    Shweta

  • 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

Maybe you are looking for