AME APEXP Workflow Issue

Hi All,
In R12 I have issue in APEXP (Expenses) Workflow.
User has created expense report and the workflow has started.
It went through AME process where it has find the approver for the expense and then notification went to the approver.
After this we have a block acitivity which waits untill the approver apporves or rejects.
The problem here is though the approver says that he is approved the expense sheet , the work flow status is not moving beynod the block activity in the AME process.
AME Workflow (12345-1) shows the process is complete, the notification to the first approver is closed with an Activity of ‘Approve’.
The main workflow (12345) is blocked and waiting for the response back from the AME workflow. It appears the spawned workflow is not updating the main workflow when it completes.
Please guide me on this how to resolve.
Thanks
Kumar.

Hi Kumar/All
I am facing the exactluy similar issue in R12 APEXP workflow.
In my case also approver has approved the workflow but it got stuck at block activity in the main workflow.
I tried to debug the issue and found that in the AME approval workflow ,a function AME Complete Approval is called after the approver has taken the action(reject or approve).
this function in turn calls the wf_engine.completeactivity API......the output of this API should act as the response to main workflow(block) and it should start moving but its not happening.
Declare
result           varchar2(1);
begin
WF_ENGINE.CompleteActivity(itemtype => 'APEXP',itemkey => XITMKEYW ,activity => 'AME_APPROVAL_BLOCK',result => Null);
DBMS_OUTPUT.PUT_LINE('result is : '||result);
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.PUT_LINE('Error message : '||SQLERRM);
end;
I tried to run the complete activity from outside also and to my suprise i could see time stamp getting changed for the block but it still didnt proceed.
i think this may be an oracle bug with R12. Please guide.
Regards
Gopal

Similar Messages

  • Using AME in Workflow

    Gurus,
    I am exhausted trying to find a solution to my problem but with no luck, hope I get some answers here.
    I want to use AME in my custom workflow. How do I go about it? I am finding articles which says use ame_api2.getnextapprovers.... but which transactionId to pass to it? Do I need to mention about the transaction type in my Form function of my OAF page call? Totally confused!!
    Could anyone be kind enough to list down the steps required to implement AME in workflow?
    Thanks in advance,
    Rakshith

    I have the same issue when we rewind the workflow we get the same block and can not move forward if you have a solution please share as it would be very helpful to me.
    Thanks,

  • Purchase order workflow issue

    Hi All,
    A PO is created and rejected by a user in user decision step.The workflow will end.If the PO is changed(amount) again,the release strategy is triggered for the same user.But the workflow is not triggering.If the release strategy is for a different user,its triggering the workflow.I have used a fork inside which 1 parallel branch contains a wait for significantly changed event & another branch contains the user decision step,po release step & rejection reason scenario.
    Please refer the thread below.
    PO Release Strategy Issue
    Replies will be greatly appreciated.
    Edited by: Feddie on Jan 3, 2008 11:43 AM

    Hi,
    This is not workflow issue(work flow is different term)
    It seem problem of BADI (program written for creation of purchase order based on sales order)
    Take help of ABPer so he/she can solve this issue
    Kapil

  • Troubleshooting Approval workflow issues

    We are getting this message from time to time and are unsure how to troubleshoot it.
    It seems as though something is changing the document, what is the best way to figure out what?
    Approval on DOCUMENT NAME has ended because the item that the task process is running on was changed.

    Hi Daniel,
    1.What message do you get?
    2. Look in the Workflow History list, eg "http://sp2013/Lists/Workflow History". Do you find any errors in there?
    3. Is the user account starting the workflow correctly synchronized in the user profile database?
    4. Is the user account starting the workflow different from the Worflow Manager setup account? (more info at
    http://technet.microsoft.com/en-us/library/jj658588.aspx#section7)
    5. Are the User Profile Service and App Management Service started? See the green frames in the screenshot below, taken from Central Administration \ Manage Services on Server.
    6.Are the App Management Service Application and User Profile Service Application started? Their proxies should be started as well. See the green frames in the screenshot below, taken from
    Central Administration \ Manage Services on Server.
    For troubleshooting sharepoint workflow issues, you can have a look at the blog:
    https://technet.microsoft.com/en-in/library/cc298927%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
    http://ranaictiu-technicalblog.blogspot.com/2013/03/sharepoint-2013-workflow-debugdiagnosis.html
    https://infopathandsharepointdesigner.wordpress.com/2013/12/13/five-top-tips-for-troubleshooting-sharepoint-workflows/
    http://blogs.technet.com/b/victorbutuza/archive/2009/02/26/how-to-enable-workflow-tracing-debug.aspxBest
    Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Workflow issue in HR Process and Forms

    Hi Experts,
    I am new to HR process and Forms.
    I am facing workflow issue in "change of position" process.
    The process is not going from manager to HR admin.
    Can anybody help me out on this.
    Thanks in advance
    Regards
    Rahul

    Hi Sahir,
    Thanks for your quick response.
    I checked in swi1  but it is showing "no entry exists"
    I have done all basic settings using PFTC and OOCU_RESP tcode but still it is not working.
    is there any other customizing that is needful??
    Regards
    Rahul

  • Workflow issue with interco transactions & general ledger entries in F-02

    Hello Experts,
    We are encountering a workflow issue when we are entering intercompany transactions with general ledger entries in F-02. Our workflow is set up with two release levels and the details are as follows:
    Amount below $2500 - single release level
    Amount above $2500 - two release levels
    The document type that we are using is SU and it is configured with intercompany postings and trading partner enabled in the control data.
    After parking a GL document that has interco amount entries below $2500 and general ledger amount entries above $2500 in F-02, the document is supposed to go to the two release levels in the workflow because the total amount is above $2500 (interco amount + general ledger amount > $2500). However, in the workflow, the document went to the single release level instead of the two release levels.
    Any idea why the subledger amount takes precedent over the general ledger amounts in determining the workflow release level?
    We would appreciate your help in solving this issue.

    You cannot change the design of the system.
    SAP may consider the change of design if all the users across the industries are reported. If a single user has a special requirement, it cannot be changed.
    You need to ask, whether this is a critical requirement for your business. Otherwise, please follow the standard way.

  • LR 3 Bug Report - file renaming error - significant workflow issue

    System configuration:
    MacPro Dual 2x2.66Ghz Dual Core Intel Xeon
    9GB RAM
    OSX 10.6.4
    Lightroom Application on System Drive
    Canon .CR2 files and Lightroom Catalog on internal software-based RAID drive
    Camera Raw Cache set to 50GB and resident on System drive
    Here is the issue:
    Once I finish the first round of editing a group of photos, I then rename them with the title of the event and a sequence number. I use LR's batch rename feature in the Library module. If I then delete 1 or more of these photos and attempt to rename them again(same event title + numerical sequence), the new names do not properly apply the numerical sequence after the filename. Either of the following can happen, and whcih one will happen is not dependednt on what I do.
    1. The files can be renamed, with the first image having a sequence number 1 number higher than the lowest number I typed into the sequence box in the batch rename dialog (if I type a number 1, the sequence starts at 2). There are also random gaps in the sequence numbering scheme. For example, the numbers will count to 15, then skip to 17, then count to 176, then skip to 178. The rest of the files might be renamed correctly, or there might be gaps. The gaps always skip a single number, and most of the time the numbers skipped are odd numbers, though numbers with a 16 are usually skipped (16, 116, 216)
    2. The files can be renamed as mentioned above, but with the addition of a -1 to the end of the sequence (example: filename-200-1 or filename-3-1). The addition of the -1 is also random, though it is more common with lower-numbered files than higher-numbered files.
    I have experienced this bug on groups as small as 50 photos or as large as several hundred.  I have tried remaning the files to a completely different text/sequence combination and then back to the one I want, and it does not help the issue. The sequence numbering is more likely to have more gaps the more virtual copies are present in the series of photos being renamed.
    This is a major workflow issue for me because the files I deliver have to be named sequentially, without gaps, following a specific text/numer naming convention. The bug is currently adding many extra hours to my post-production time. Any assitance would be greatly appreciated.
    Thank you

    Thanks for the detailed description.  I was able to repro this with your steps and have logged a bug for futher investigation.
    Becky

  • Workflow issue after upgrade to ECC 6.0

    Hi,
    we are facing an workflow issue and thought if someone has faced similar issue and could help us.
    We've an approval workflow for purchase requisitions through release strategies. For some steps, if the approver is 'WF-BATCH' user, we are executing that step using a program. This program first set the workitem to completed status( this part is working), then it will close the purchase requisition to release status for a particular release code( this part is working) and then we are triggering the 'RELEASE' event for the business object providing the Object key which should take it to the next step( THIS IS NOT WORKING). The business object is custom. This was working perfectly in 4.7 version of SAP but this logic is not working in ECC6.0. we are using SAP_WAPI_CREATE_EVENT to trigger the event. But the workflow doesn't move on to next step.
    Have anyone of you have any idea as why this might be happening. Any information on this would be of great help.
    This is happening in ECC 6.0. USED TO WORK IN EARLIER VERSION.
    Regards,
    Sam K

    Hi,
    Is WF-BATCH having proper auth. ?
    Or, if you are using the FM SAP_WAPI_CREATE_EVENT in some program and is scheduled as a batch job, then that user under which this batch job is runnign should have proper auth. to raise the event. Please check those.
    Also, what the error (if any) says in SWEL ?
    venu

  • Workflow issue-Agent not maintained

    Hi All,
    I have a workflow issue. For a PR, the workflow is throwing up the error as :
    "Agent not maintained for plant XXXX planner group XXXX release code.
    Please maintain an agent for the above key in the Agent AssignmentTable,and forward the workitem with text "Release requisition XYZ" in your Workflow inbox to an appropriate Approver."
    Please help me out on this one.
    Thanks,
    Swati.

    HI
    Check 'Agent Assignment' in not green..
    Then push the button 'Agent.Assign for TASK' in front of 'Agent Assignment'.
    Next, You can go the maintain screen.
    Push 'F8' or 'Attributes...' and check 'General Task'.
    and try again..
    Good luck

  • Content Workflow Issue using Cineform/PPro/AE

    Hello, I have a potential workflow issue that I need some advice on. I'm currently editing a project in Premiere Pro CS3 using the Cineform intermediate codec (the video was shot in HDV--Canon HV30--imported using AspectHD). Everything is working fine.
    However, I'd like to export some of the video of this project off to a portable hard drive to physically hand over to someone who will be importing it into After Effects CS3 (on a completely different hardware system) to spice things up for me--i.e. they are going to make a flashy intro/title for this project.
    Lastly, I would like to re-import her finished video back into Premiere. She does not have the Cineform codec so exporting it as a cineform.avi file is out (I would think--or am I incorrect here?). My question is mainly--what is the best file format to hand over to my AE person AND what is the best file format for my AE person to give back to me to re-import into Premiere and keep it all in HD/HDV 16:9?
    I have no idea if this is a really easy thing, or really challenging. Any thoughts or suggestions are greatly appreciated.
    Bill

    Hi Bill
    well the best person to answer that question is the lady who is doing the afterv fx work for you. only she knows what her system can handle. I would recommend first and foremost uncompressed avi if she is on windows or uncompressed .mov if she is on a mac. otherwise if she cannot handle uncompressed because the file is too big you could give her a quicktime animation. i think the file is a little smaller than uncompressed but i could be wrong. but qt animation is still a big file. you could also render out the video as an image sequence I recommend a TIFF sequence suing LZW compression to keep the file sizes down. give her the image sequence she can add the fx and then she can render out the final product as an image sequence again which you can match up with the audio track on your pc. she can also give you an uncompressed file which you can then render out to cineform.
    angus

  • Issue in Wait function in APEXP workflow

    Hi Friends,
    I am working on APEXP R12 12.1.3 version
    Requirement: user expecting the email notification 48hr after summation of expense if he is not submitted the image.
    Customization I have done: I have used the standard Wait function after “wait for image receipt” node to wait the workflow for 48 and sending the notification. i am passing node attribute value as Relative Time :0.5
    Issue: Wait is not working user is getting the email notification immediately

    Appreciated  for the  response and thanks in advance

  • Linear workflow issues with Media Encoder CC 2014

    I'm using After Effects CC 2014 and doesn't seem to be the option anymore to export via AE to H264. There used to be a button in the preferences to enable outdated codecs... not there anymore with CC 2014. So... I added my renders into Media Encoder. The problem is that it is not calculating my project working in Linear Workflow so all my renders are very dark & wrong colors.
    Anyone find a work around for this? is there a button in Media Encoder that I need to switch on for linear workflow?

    I've been validating in QT, but per your comment I opened up in VLC player as well. VLC player does playback the correct color. I attached SS of same lossless rendered video from AE open in AE, QT, VLC, and then the rendered H264 in QT & VLC  from AME in one screen shot. You can see that the H264 file from AME is always just a little bit off when opened in QT or Preview mode (OSX) or uploaded to Vimeo. The rendered H264 file is just the lossless file being encoded into H264 via AME.
    That's great that VLC player will playback the correct color, but when uploading to Vimeo, the color shifts as well during playback. I've never had this issue when rendering to H264 directly from AE before. I'm a little new to AME so I'm not sure if there is a setting I am missing or is there a limitation to the H264 codec where I've never noticed the slight color shift? Is there anyway to get a H264 file that will play back via Vimeo/QT without the color shift?

  • External Learning Workflow Issue

    Hi Friends,
    I am trying to have approvals for External Tranings. For this I changed the "HR_APPROVAL_REQ_FLAG" to Yes. I am now able to go to the Next Page, wcich is the Review Page. However we are not using AME and when defining the function parameters we have the ame attributes that are being passed. There are a couple of issues here
    1> When I intiate a new transaction to add External Learning for the users, no workflow is generated
    2> I want to modify the workflow in such a way that the approvals should be custom generated. I will generate these approvals and design the workflow. But where do we start in the workflow.
    Can someone please help. We are on R12.1.3
    Thanks
    Edited by: user9197772 on Jan 17, 2013 2:27 AM

    Hi Friends,
    My apologies. The workflow has kicked off and it took a while for that to happen. I just needed to have a little bit of patience. I can work on this now. The thread can be closed now.
    Thanks

  • AME Invoice workflow - When invoice moves from Approval Require to Not Req

    Hello,
    I have a small Issue with AP Prepayment invoice Workflow.Version: 12.1.1
    Issue Des:AME has been configured specifically for Prepayment invoices. however, when Initiate Workflow is clicked, the Approval status changes from Required to Not Required (instead of Initiated).
    AME Setup:
    1.IF supplier amount > O get approval from approval-grp.
    Steps:
    1.Create a invoice with amount 1000 and distributions with 1000 amount.
    2.Validate Invoice
    3.Intiate Approval using actions "Intaiate Approval" the Approval status changes from Required to Not Required (instead of Initiated).
    4.Invoice shows status 'Not Required'
    5. first time the customer was using AME Rule for Prepayment invoice type with approver type as HR People and In the employee form, the supervisor relationship was not defined.
    Any idea on why this is not working will be of great help!
    Regards,
    Venkat

    HI Venkat,
    Check the AME rules, Is the Priority filed have any values set or not.
    The Priority must be set to 1 and try again.
    Regards,
    Sunil

  • OIM 11.1.1.5 Approval Workflow Issue

    Hi,
    I have installed OIM 11.1.1.5. While self-registration of a user, the request is created and by default assigned to xelsysadm as the request level approver.
    However, when the approver logs in, assigns the organization to the user and approves the request, it is shown that the approval task is completed.
    But the request status doesn't change and remains "Obtaining Request Approval" and thus the user is not created in OIM.
    In SOA server, on checking the logs (soa_server1-diagnostic.log) we found the following error -
    [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.dispatch] [tid: orabpel.engine.pool-5.thread-4] [userId: weblogic] [ecid: ee9b8be672bf5ad0:-72f1c18e:1399f6dc058:-8000-0000000000000108,0:1:100000006] [APP: soa-infra] failed to handle message[[
    java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;
    We are unable to resolve the issue, we've tried using a custom approval workflow instead of the default approval workflow.
    Kindly help.
    Edited by: 957679 on Sep 7, 2012 6:17 AM
    Edited by: 957679 on Sep 7, 2012 6:19 AM

    Hi ,
    I actually faced the same issue some time back .., it took me almost a week to resolve it ..
    This is happening basically due to incompatible version of wsm-policy-core.jar on your server . Please check all the FMW s/f installed on your server . One of them is incompatible with OIM 11.1.1.5.0 .
    Are you using BIP 11.1.1.6 by any chance .
    Thanks
    Suren

Maybe you are looking for