ClassCastException in Human Workflow for Approval from TaskDetail

Jsff :
<af:commandToolbarButton actionListener="#{invokeActionBean.setOperation}"
text="#{wf:getResourceValue('APPROVE', 'bindings.customActions')}"
disabled="#{!bindings.APPROVE.enabled}"
action="#{invokeActionBean.invokeOperation}"
partialSubmit="false"
visible="#{wf:isCustomActionAvailable('APPROVE', 'bindings.customActions')}"
id="ctb1">
<f:attribute name="DC_OPERATION_BINDING"
value="#{bindings.APPROVE}"/>
</af:commandToolbarButton>
PageDef
<methodAction IterBinding="taskIterator" id="APPROVE"
RequiresUpdateModel="true" Action="invokeMethod"
MethodName="APPROVE" IsViewObjectMethod="false"
DataControl="MktBudgetsApprovalWorkflowUI_FundRequestApproval"
InstanceName="bindings.taskIterator.currentRow.dataProvider"
IsLocalObjectReference="true"/>
Data Control :
<dc id="MktBudgetsApprovalWorkflowUI_FundRequestApproval"
path="oracle.apps.marketing.commonMarketing.budgets.ui.hw.MktBudgetsApprovalWorkflowUI_FundRequestApproval"/>
and MktBudgetsApprovalWorkflowUI_FundRequestApproval defination is :
<?xml version="1.0" encoding="UTF-8" ?>
<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.56.53"
id="MktBudgetsApprovalWorkflowUI_FundRequestApproval"
BeanClass="MktBudgetsApprovalWorkflowUI_FundRequestApproval"
isJavaBased="false">
<MethodAccessor IsCollection="false"
Type="MktBudgetsApprovalWorkflowUI_FundRequestApproval.getTaskDetails"
BeanClass="MktBudgetsApprovalWorkflowUI_FundRequestApproval.getTaskDetails"
id="getTaskDetails" ReturnNodeName="Return">
<ParameterInfo id="bpmWorklistContext" Type="java.lang.String"
isStructured="false"/>
<ParameterInfo id="bpmWorklistTaskId" Type="java.lang.String"
isStructured="false"/>
<ParameterInfo id="bpmWorklistTaskVersion" Type="java.lang.String"
isStructured="false"/>
</MethodAccessor>
</JavaBean>
I am seeing
<May 9, 2011 11:21:25 PM PDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
Caused By: java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding
at oracle.bpel.services.workflow.worklist.adf.InvokeActionBean.setOperation(InvokeActionBean.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Hi,
did you write the code ? What is
<f:attribute name="DC_OPERATION_BINDING"
value="#{bindings.APPROVE}"/>
supposed to do ? You are invoking a method from a property that expects a ValueExpression
Frank

Similar Messages

  • Workflow for Approval of Appropriation Request

    Dear experts,
    I have been working on Workflow for Approval of Appropriation Request.
    Even after carrying out all the required configuration, the process is not working. Following are the symptoms:
    When appropriation request is submitted for Approval, I am maintaining user ids of approvers in the Partner field.The moment I click For Approval status the Approve Button is deactivated.Even when I log in from the Approver's user ID the button is Deactivated. 
    When I check the Business Workplace Inboxes of Approvers there are no Workflow related mails.
    please help me out
    Regards,
    srikanth

    srikanth,
    Have you maintained all the configurations related to Work flow in IMG? like activating event linkage, assigning agents, approval schema etc...
    Also, have you maintained the workflow automatic configuration in transaction SWU3,
    you have to maintain the following:
    1. create a user id WF-BATCH, user type system and maintain a password for this user (seek BASIS team help for doing this)
    2. Assign SAP_ALL & SAP_NEW in user profile tab.
    3. in SWU3, under Maintain Runtime Environment --> Maintain Workflow System Administrator , select line and click on execute button, select user - WF-BATCH, save and back.
    4. then in the same screen select *Configure RFC Destination * click on execute, system prompts with the user id mentioned in the above step, you enter the password mentioned in the first step, click OK.
    5. now select *Maintain Runtime Environment * click on perform automatic configuration button (f9).
    6. Ensure that the option Maintain Runtime Environment turns to Green tick mark.
    7. select Classify Tasks as General click on perform automatic configuration button (f9).
    8. Ensure that the option Maintain Runtime Environment turns to Green tick mark.
    Now can go to transaction SWDD, on the left side of the screen, in the field WORKFLOW enter this value* WS00300022* press enter. Click on test (F8) button.
    In the Test Work flow screen select BUS2104 line, it shows a new line at the bottom of the screen with the following options:
    Object type:  BUS2104, Key:
    You enter the appropriation request number in the  field key (you cannot directly enter value here, choose drill down option (f4) then a new window pops up, enter the approp request number, click ok.
    then click on execute (f8).
    Now you can check in the approver's business work place under Inbox - workflow.
    Praveen

  • Is there a workflow for approval and Reversal of Regular Journal

    Hi All,
    Is there a workflow for approval and Reversal of Regular Journal .
    can we use  the standard park document workflow for the same .. ???
    Thanks ,
    Naval

    For such activities you would probably better make use of ISR.
    See [SAP Help - Internal Service Request|http://help.sap.com/saphelp_erp60_sp/helpdata/en/53/3120386827c23ce10000009b38f842/frameset.htm]

  • Workflow for Approval

    I am creating a workflow for approval.
    How do I make the request for APPROVAL is directed to a user who is not xelsysadm?
    If you can tell me the steps one by one.
    Thank you all .-

    Need Approval process workflow?

  • Workflow for approval Plant/Company code wise

    Dear Gurus,
    I am new to work-flow I want to change my work-flow according to company/plant wise .
    Right now we have made a workflow with two release levels one for purchase and second for Finance.
    We have got two companies under one client and same controlling area. But both companies have different company codes.
    When Po is sent for approval the alert mail is given in SAP-inbox of approving authorities according to category like Spare,Raw material etc.
    But due to same workflow the mail goes to both companies authorized persons so what happens person from one company is giving approvals for another company. So we want to sent mails to SAP inbox according to their company codes or if this is not possible than plant wise.
    Thanks in advance
    Himanshu

    Hi,
    As per requirement i think your workflow is working fine in particular plant, if yes means in your workflow container is there any company code is available please confirm the company code in workflow container
    if company code is available means then you all just want to do is you need to bind the company code to your business rules and your open sql query should be based on company code also, then your agent assignment will automatically work for different plant. 
    Hope this helps,
    Srinivasan.R

  • Workflow for approval of down payment for outward freight

    Can somebody suggest if is there any standard workflow available or not for approval of down payment for outward freight in SAP system? I want to build a workflow for this purpose upto two level of approval.
    Thanks & Regards,
    Manas

    Hi Manas,
    There is business object BSEG for down payment request. Try to use that and u can find workflow as Arghadip said in other thread. In PFTC u can go for F4 and search.

  • MM Workflow for Approval of Contract- Steps

    Hi All,
    Can you please help me with process or steps for Customizing Workflow for Contract Approval?? I need with some example.
    Any links for references also will be helpful.
    Thanks in Advance.

    [workflow material;[http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/content.htm]

  • Forwarding Workflow for approval

    Hello Experts,
    A 'Maintain Position' workflow was generated by an employee. Ideally it should have gone to the employee's manager as first approver, but since the manager is not set up in SAP, the workflow has gone into error (its shows in Tcode SWI2_DIAG). I need to forward this workflow to another manager for approval as it's urgent.
    I guess using SWIA might help but as I am new to workflows, I am not sure of the exact steps to be followed. Can someone please help me out on this?

    if there is only manager, who is responsible for approving that WF for all employees..then you can assign that manager directly as the agent to that WF by changing it in WF. u can do this by choosing approver type USER and provide his SAP SYSTEM ID (IT105.SUBTYPE 1)in agent assignement at approval step.

  • Workflow for approving documents: rejected document

    Hi expert colleagues,
    at my client we are implementing the workflow functionality for approving documents (EhP2). I managed quite easily to set-up the basic workflow as described in the documentation. I have one question though, the problem is the following:
    Step 1: a correction document is entered by the corporate consolidation team person 1 and a workflow is triggered
    Step 2: the document is rejected by the approval agent of the consolidation unit
    Step 3: the rejected document becomes available for person 1 of the consolidation team, but the person is not present that day. Another person of the consolidation team wants to pick-up the rejected document, adjust it and start the workflow again. This seems to be impossible, the rejected document can only be modified (or discarded) by person 1. Even if person 1 identifies a substitute, the substitute cannot change the rejected document.
    Question: is there a way to let another person pick up a rejected document?
    Thx, ewald

    Hi,
    you can probably assign multiple approval agents to one consolidation unit. But in the case there is a rejection by one of the agents the document goes back to the initiator.
    The document initiator can only discard or change the document via the consolidation monitor, task manual posting. And the initiator is the only one who seems to have the power to call up a rejected document (in that way it looks a bit as a user specific held document).
    Any extra thoughts or should I look on the workflow forum?
    Kr

  • LSO Workflow for Participants from Course Admin and Instructor

    Hi All,
    As par standard SAP we found that there is no approval process/Workflow for participants if they are booked by course administrator/Instructors.
    Please suggest if we have to make some enhancements or if I am missing some standard configuration here.
    Regards,
    Umesh

    Hi Connie,
    Thanks for your reply,
    Yes at the moment I am concentrating on the Classroom training part only.
    As you correctly pointed out that the few of the Associates will not have the access to the computers/training system they do request by telephone/email to training department directly and I think this is the process in most of the organizations.
    Now if the admin is booking the courses on behalf on the employee, it should go to the Manager for approval and subsequently the employee should be also informed.
    So I am looking for similar process.
    Kindly let me know if this can be achieved in some way, e.g (some sap customization or some simple enhancements).
    Regards,
    Umesh

  • Waiting for approval from other device on mac

    Im waiting for the macs keychain access to send approval to one of my other devices for approval after a fresh installation of mavericks 10.9.3,
    my question is how long should it take because its been 3 hours so far.
    it doesnt appear to be working for me

    Hello pj o\'connell,
    Thanks for using Apple Support Communities.
    Please see below for instructions on troubleshooting this issue of not receiving the verification code:
    I'm not receiving the verification code via SMS.
    Make sure that you have a good cellular network connection on your phone.
    Check that your phone number is one that can receive SMS messages. You can do this by having someone send you a text message.
    Check that you have the correct phone number associated with your account:
    Devices using iOS 7.0.3 or later: Tap Settings > iCloud > Account, then tap Keychain. Check that the phone number listed under Verification Number is correct. If not, enter another phone number.
    Macs using OS X Mavericks v10.9 or later: Choose Apple () menu > System Preferences. Click iCloud, then click Account Details. Check that the phone number listed under Verification number is correct. If not, enter another phone number.
    Check Apple System Status to see if there is currently a service outage affecting iCloud Keychain.
    If you do not have access to a device that has iCloud Keychain enabled, you can contact Apple Support and verify your identity for help completing iCloud Keychain setup.
    iCloud: Troubleshooting iCloud Keychain
    http://support.apple.com/kb/TS4644
    Take care,
    Alex H.

  • Workflow for restart from a step

    Hi,
    I have created workflow. I have decision step and after decision step one more method calling BDC .if error occurs in BDC
    i want to restart from decision step .
    How to achieve this .
    Can any one help
    Regards,
    Madhavi.

    Hi Madhavi,
    You can try the transaction code SWPR - it doesn't restart the workflow, it resumes from where it stopped.
    Else, you can also start new workflow through SWUS with the same object key and change wf_initiator accordingly.
    Thanks,
    Anusha

  • How to change All Human workflows urls in from machine name to IP Address

    I've installed oracle BPM server and when I've deployed my bpm processes i've found that all human workflows URLs are maaped by machine name.
    Hostname = "Machine Name" not the ip.
    I know that i can go inside each task and replace the name with the ip but i have a lot of processes and a lot of human workflows.
    is there any way to replace all machine name in these human workflows URLs with the server ip address. and I need the new deployments to be with the ip not machine name.

    Wouldn't it be easier to add the machine name to the dns server or the servers hosts file?
    What do you do if the IP of the host changes?
    Have you looked into the deployment plan? That's the location to change such things when deploying applications.
    Timo

  • SharePoint Task List using Workflow for approver chain, gathering information from another list.

    What I have is a Custom List, that got the following fields for each item. 
    ApplicationName(SingleText) OwnerApproval(Person) ManagerApproval(Person) InstallExeuction(Person)
    Example data:
    | ApplicationName: Photoshop
    | OwnerApproval: Mister Blue
    | ManagerApproval: Mister Red
    | InstallExecution: IT Group
    What I have now then, is a task list as well. Where the user can press new task, and type in their PC name (singletext) and a dropdown menu to choose what application they want, for instance Photoshop.
    I'm not trying to make a workflow that starts when a new item is created to send an email to the OwnerApproval set for this specific application, Photoshop, if he approves it, a new email should be sent to ManagerApproval specific application, Photoshop.
    And if the last person ManagerApproval accepts it, a last email should be sent to InstallExecution, which if this person approves the task is marked as completed.
    I've been trying for mad now using SharePoint Designer and I almost got it to work. 
    Can anyone help me? I'm going mad here, I have VERY LIMITED knowledge in sharepoint designer.

    Hi Plankton,
    To achieve this goal, we can create with three Start a task process steps in the workflow and the workflow needs to be set to start when an item is created.
    For example, the custom list is called Custom, and the task list is called Task Custom.
    We can use the Task Status column for showing as Rejected or Excuted/Installed based on the users’ approval, so we need to add Rejected and Excuted/Installed values to the Task Status column. (same settings for Custom:ManagerApproval and Custom:InstallExecution
    as Custom:OwnerApproval with their own column value)
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Workflow for Delivery from Sales Order Creation

    Hi All,
    I am new to SAP workflow.  There is a requirement to create a delivery through VL04 (in background) based on the Shipping Point of the approved Sales Order.  How can this be done?  I am assuming that I should be using BUS2032 for the Sales Order and BUS2015 for the Delivery. 
    The first step should be to send an email that gives the user two options (Approve and Reject) once a Sales Order is saved.  However, I am unsure of how to pass parameters to VL04 and submit the program.
    For example, if the order is approved the Shipping Point will be passed to VL04 and run in background to create the delivery.  How can you determine the Shipping Point from BUS2032?  I did not see any attribute for this within the BOR.  Also, how do you create the step to submit that Shipping Point to transaction VL04 in background? 
    Any help you can give would be greatly appreciated.  Thanks.
    John

    Hello,
    You could try using a BDC with VL04 but first preference would be to see if there are any BAPI functions (search for BAPI) that can do this.
    If BUS2032 doesn't have an attribute that you want (eg shipping point) then sub-delegate to ZBUS2032 and add the attribute, it's straightforward. You just have to know how to determine the value programmatically.
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for

  • Profit center lock indicator has no effect

    Hi all, I have following situation: A cost center X is assigned to a Profit center Y. Profit centre Y has status "Inactive:change" and is valid from 01-01-2002 to 31-12-2008. Also, the lock indicator has been set and the assignment to company code 00

  • Is the Itunes store temporarily unavailable

    I have been trying the past few hours to download a song and I get a message that says I can't use my credits, but that I will be charged. I hit ok, and it then says that credit card purchases are temporarily unavailable.  Is this something on my end

  • Pricing Type field - CLarification

    Hi - I just wanted to get clarification regarding pricing type field. i see it is part of copy control from delivery to billing document based on item category V_TVCPFLP. KNPRS. Also, similar field is there in pricing procedure definition on the main

  • System copy (NetWeaver)

    Hi, I want to do a system copy of NewtWeaver which runs on WebAS 640. I beleve it will be different from normal system copy because it has J2EE etc. Is there any guideline to do this. I read the note 771209 and it talks about R3load and other things.

  • DHCP Leases vs. DHCP Statistics

    While checking DHCP leases in the Computer Management MMC, I've noticed a discrepancy between the number of active leases displayed in Services and Applications | Scope | Address Leases and the number of address reported as "in use" by right-clicking