Custom Oracle Worklow setting status of a notification to 'CANCELED'.

I have created a custom oracle workflow process and upon approval of the process it will send a approval notification out to a distribution list.
This distribution list consists of user entered email addresses. For these emails I perform a check to see whether it exists already or not. If it does update the attributes for this user role.
If it doesnt I am calling the createadhocuser procedure to create a new user.
The notification is then called setting the performer to be the new user.
This creates a record in the wf_notifications but moments later it is automatically having its status set to 'CANCELED'.
Can anyone explain why this is happening or are some other setting not being set?
Thanks.

YOu do it the exact same way - just retrieve the values of the active form and create Form Load rules with conditions to switch views based off the values in that column.  Is there a reason you couldn't do that?SharePoint Architect || Microsoft MVP ||
My Blog
Planet Technologies ||
SharePoint Task Force

Similar Messages

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • Custom Oracle Report displaying records one at a time

    I have a custom oracle report that i've created and what i'm trying to achieve is to get all the records for the specific job code to print on one page. Instead, it is putting one record on one page. For example, job 90822 might have 6 records associated with it. Instead of it putting all 6 on one page it is putting one on 6 separate pages. I'm attaching my statement below. Any help is appreciated!
    select proj, cmocn_code, cmocn_comp_code, cmocn_job_code, cmocn_notes, cmocn_post_date, cmocn_issued_date,
    cmocn_executed_date, cmocn_impact_days, budg_amt,
    sum(budg_amt) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt,
    sum(cmocn_impact_days) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_days,
    cc_pmownercon, cc_cmownmod, bp_name
    from
    select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
    , cmocn_code, cmocn_comp_code, cmocn_job_code, nvl(cmmv_name, cmocn_title) Notes
    , cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days
    , nvl(cmmv_bill_amt, 0) budg_amt
    --, sum(decode(cmocn_code, '0000', pmp_curr_cont_amt/*pmp_orig_cont_override_amt*/, nvl(cmmv_bill_amt, 0)))
    --over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
    , cmocn_notes, cc_pmownercon, cc_cmownmod, bp_name
    from da.cmownchgnum
    , (select cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code, sum(cmmv_bill_amt) cmmv_bill_amt
    , max(cmmv_name) cmmv_name
    from da.pmmast_v
    where cmmv_owner_chg_code <> '0000'
    group by cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code--,cmmv_name
    , da.pmproject_table
    , da.cc_user_fields_vw
    , da.bpartners
    where cmocn_code <> '0000'
    and cc_table_name (+) = 'CMOWNCO'
    and cmocn_oraseq = cc_oraseq_in_table (+)
    and cmocn_comp_code = cmmv_comp_code (+)
    and cmocn_job_code = cmmv_job_code (+)
    and cmocn_code = cmmv_owner_chg_code (+)
    and cmocn_comp_code = pmp_comp_code
    and cmocn_job_code = pmp_job_code
    and pmp_cust_code = bp_code
    union all
    select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
    , '0000', pmp_comp_code, pmp_job_code, null /*nvl(cmmv_name, cmocn_title) Notes*/
    /*, cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days*/
    , null, null, null, null
    , pmp_curr_cont_amt budg_amt
    --, sum(decode(cmocn_code, '0000', pmp_orig_cont_override_amt, nvl(cmmv_bill_amt, 0)))
    --over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
    , null/*--cmocn_notes*/, cc_pmownercon, cc_cmownmod, bp_name
    from da.pmproject_table
    , da.cc_user_fields_vw
    , da.bpartners
    where cc_table_name (+) = 'PMPROJ'
    and pmp_proj_oraseq = cc_oraseq_in_table (+)
    and pmp_cust_code = bp_code
    and pmp_cust_code = bp_code
    order by cmocn_job_code, cmocn_code

    Hello,
    What is the "Vertical Elasticity" of the enclosing frames / repeating frames ?
    This problem may occur when a frame or repeating frame has a property "Vertical Elasticity" set to Fixed or contract.
    In this case, change the property "Vertical Elasticity" to Expand or Variable.
    Regards

  • Oracle patch set 10.1.0.4  or patch #3895738

    I need to apply either Oracle patch set 10.1.0.4 or patch #3895738 (on top of 10.1.0.3) for Sun Solaris as suggested by Metalink Note: 283107.1
    I cannot find either one by using Metalink Patches search. Where can I find them?

    Hi
    There is no 10.1.0.4 till now, it's in planed status.
    lajos

  • Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT)

    Hi
    Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT) i am unable to find the hierarchy option  Data source administration in Production, all my category reports doesnu2019t  show hierarchy. In RSRT the hierarchy is fine.
    Any idea how do we get the setting back,
    I know front end content transport  from Dev will help, but we are working on some developments and donu2019t prefer transport at the moment.
    Regards,
    Mahesh

    If I look at the available parameters in the helpfile 2 things are strange in my opinion:
    1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
    2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
    So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
    I would like to know the results!
    Joost

  • User Status Profile for Notification PM

    Dear Masters,
    I know the steps to create the user statuses and user status profile for notification but I want a brief description on maintaining the user statuses. Can i have any document that can explain me the user statuses.
    Hope to find the reply soon. Thanks in advance.
    Chin2

    Hi Naveen,
    Thanks for such a valuable reply, this document is very much helpful to me. See the below example i am showing for the status profile i have created
    STATUS PROFILE:  ZP-NOTIF
    Status number        Status     description                                          Init      Lowest       Highest      position     priority
             1                    OPEN       Open Notification                                no        1                   1                 1               1
             2                    RUNG      Equip. Running Condition                    no         1                   2                1               1                
             3                    NRUN      Non-Running Condition                       no         1                   2                1               1                
             4                    CLSD      Closed                                                 no         1                   2                1               1                
    When I am trying to set the first status (OPEN) to the notification, it works fine but even after I am assigning the order to this notification, put notification in process, assign equipment I cannot set the next status (i.e., RUNG) it is showing me the following error:
    "Status RUNG is not allowed (QNF 100000000000) "  -> -> 
    Diagnosis
    The user status 'RUNG' has reference number 02.  In the current object status 'QNF 100000000000', the reference number of a status may not be higher than 01.
    Procedure
    You can only set user status whose reference number is not higher than 01.
    please help me solving this question its a bit urgent.
    Thanks once again for your replies.

  • Oracle character set confused

    Dear all:
          We installed the Latest NW7.0 SR3 for EP&EP core for my Portal application. After that ,i found that our oralce default character set is UTF-8. But some of other Java codes(Iviews,pages..which we developed on Tomcat envionment.)are based in the environment of Oracle character set ZHS16GBK. So iam confused that The NW7.0 SR3 can only install in 64bit OS and a Unicode system. Can i change the oracle character set from UTF8 to ZHS16GBK. Or how can i install the SAP system whose oracle basing on character set ZHS16GBK.
    Thanks everyone.

    Hello Shao,
    ok lets clarify some things at the beginning.
    A SAP Java system is not "only using" the database characterset, it is using the national characterset (column types NCHAR, NVARCHAR2, NCLOB). You can check this by reading sapnote #669902.
    You can also check sapnote #456968/#695899 for the supported super sets:
    => As of SAP Web AS Release 7.00 and Oracle client 10g, multibyte character sets are no longer supported
    With these informations you can not use ZHS16GBK.
    > But some of other Java codes(Iviews,pages..which we developed on Tomcat envionment.)are based in the environment of Oracle character set ZHS16GBK
    Sorry but i don't understand this sentence.
    What is your problem with the java code? Do you have custom tables with column types CHAR,VARCHAR2 or CLOB?
    Regards
    Stefan

  • OWB ProcessFlow (ROUTE/SET STATUS)??

    OWB ProcessFlow (ROUTE/SET STATUS)??
    We are using OWB repository 10.2.0.2.0 and OWB client 10.2.0.2.8. The Oracle version is 10 G (10.2.0.2.0). OWB is installed on Sun 64 bit server.
    I learned that ROUTE/SET STATUS usage in ProcessFlow have some issues. How do we use them?
    I find limited details on this under OWB processflow help.
    Did any one in this forum face such issues?
    Any idea?
    Thanks in advance.
    RI

    Hi,
    Have you tried using an Oracle Scheduled Program to execute the batch, and then just calling the Scheduled Program from OWF?
    Regards
    Steven

  • Distinction among  terms: Oracle Patch Set, Oracle Patch Bundle, ecc

    Hi to all,
    a customer asked me to update an Oracle database 10.1.3.0 on Windows 32 platform. THe only patches installed are **5556081** and *5557962*..
    I looked for new updated patches and I founded some Oracle Recommended Patches ID 756671.1 and Oracle Patch Bundles ID 1207176.1 for 10.2.3.0.
    Honestly I don't know how to proceed in the sense that i don't know if it is better to apply these bundle patches or to go directly to Oracle Patch Set 10.2.4.0 or 10.2.5.0 for a better update.
    What is the difference between Oracle Patch Bundle and Oracle Patch Set?? and the difference between Oracle patch Set and Oracle Patch Set Update???
    Any help will be well appreciated..I need to do this update asap
    Thanks in advance
    Susy Paparella OCP 10 G DBA

    user8837052 wrote:
    Hi to all,
    a customer asked me to update an Oracle database 10.1.3.0 on Windows 32 platform. THe only patches installed are **5556081** and *5557962*..
    I looked for new updated patches and I founded some Oracle Recommended Patches ID 756671.1 and Oracle Patch Bundles ID 1207176.1 for 10.2.3.0.
    Honestly I don't know how to proceed in the sense that i don't know if it is better to apply these bundle patches or to go directly to Oracle Patch Set 10.2.4.0 or 10.2.5.0 for a better update.
    What is the difference between Oracle Patch Bundle and Oracle Patch Set?? and the difference between Oracle patch Set and Oracle Patch Set Update???
    Any help will be well appreciated..I need to do this update asap
    Thanks in advance
    Susy Paparella OCP 10 G DBA
    Pl clarify what you mean by "10.1.3.0", "10.2.3.0", "10.2.4.0" and "10.2.5.0" - there a no such Oracle versions
    I believe you mean 10.1.0.3, 10.2.0.3, 10.2.0.4 and 10.2.0.5
    If so, all of the above are patch sets on top of the base release (10.1 or 10.2). It is always recommended to update to the latest patch set release.
    Pl note that both 10.1 and 10.2 are de-supported - you should be using the latest 11gR2 version.
    Patch set updates (PSU) are additional bundled fixes on top of patch sets - see this MOS Doc
    Patch Set Updates for Oracle Products [ID 854428.1]
    HTH
    Srini

  • Can I use Report Manager to distribute customized oracle reports?

    Hi,
    Can I use Report Manager to distribute customized oracle reports, other than FSG reports?
    If no, is there any function that can be used for distributing reports submitted from concurrent manager in r12.1.2?
    Thanks for any advice!
    HY

    Pl post details of OS and EBS versions.
    >
    Can I use Report Manager to distribute customized oracle reports, other than FSG reports?
    >
    I am not sure - pl ask your friendly Oracle salesperson if this functionality is included in your license.
    >
    If no, is there any function that can be used for distributing reports submitted from concurrent manager in r12.1.2?
    >
    Another option could be to use XML/BI Publisher - again, you will need to check if your license includes distributing custom reports.
    HTH
    Srini

  • How to set up internet explorer notification script error on Imac

    Trying to set up script error notification on my Imac when using internet explorer pages - where / how do I set this up for my Imac?

    IE has not been supported by Microsoft on a Mac for years....  I have no clue what you are trying to do.
    Barry

  • How to display the report output from a customized Oracle Form button

    Hi Gurus
    I developed a customized oracle form and one customized report. I want to run report from oracle customized form, for this i use one button to submit concurrent request for request.
    its successfully submitted and i can view output by using View ----> Request --------> Find -------------> Output...
    But problem is that how can i view output by using button not doing all steps to view output.
    Regards,

    Hi Haq Nawaz,
    Refer Here
    Regrads,
    Guru

  • Error while calling standard OAF page from custom Oracle Form

    Hi,
    I am calling standard OAF page from custom oracle form using the following code.
    FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
    OPEN_FLAG =>'Y',
    SESSION_FLAG =>'N' ,
    OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
                        '&CallingFunction = "' || 'MANEXPINQ' ||'"');
    But I am getting this error.
    oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
    Please let me know any thing I missed out here.
    Any suggestion will highly appreciated.
    Thanks & Regards,
    Sunita

    I am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"

  • Upgrading Oracle Patch Set

    Hello All,
    I am in the process of upgrading the Oracle Patch set from 9.2.0.6 to 9.2.0.8.
    Can anyone let me know what are the Pre and post installation steps that needs to taken care of.
    Thanks

    As Anurag has already mentioned that with every patch set there is a readme file which contains all pre and post installation steps in detail. Please read each word of it and you done if you follow as it is. In case you found any error/issue you can paste the steps which you have done; so that we can found where was the error / mis-steped.
    Regards
    Girish Sharma

  • FM for changing system status in Service Notification

    Hi all,
    I have a tough situation here.
    To change the system status in service notification, the system use "IQS4_CHANGE_STAT_NOTIFICATION".
    CALL FUNCTION 'IQS4_CHANGE_STAT_NOTIFICATION'
      EXPORTING
        i_qmnum                  =
        i_vrgng                  =
        I_CHECK_ONLY             = ' '
        I_SPRAS                  = SY-LANGU
        I_BEZDT                  = SY-DATUM
        I_BEZUR                  = SY-UZEIT
        I_POST                   = 'X'
        I_COMMIT                 = ' '
        I_WAIT                   = ' '
        I_REFRESH_COMPLETE       = 'X'
      IMPORTING
        E_VIQMEL                 =
        E_STTXT                  =
        E_ASTXT                  =
      TABLES
        RETURN                   =
    2 main fields are required; i_qmnum and i_vrgng.
    I am able to provide i_qmnum (as this is the service notification number that i need to change).
    However, i_vrgng is a field in table (TC33-VRGNG). The values in the table does not make sense to me.
    Example. To change the status to NOPR (Put in progress), the FM uses PPM2 or PPM6 for i_vrgng. If we take a look at the table TC33, it doesn't indicate in anyway how NOPR is related to PMM2 or PMM6.
    Is there a guideline (ie, to change status to OSTS, i use a certain value in TC33-VRGNG to run the FM)?
    Please see BAPI_SERVNOT_POSTPONE & BAPI_SERVNOT_PUTINPROGRESS for a clearer picture of what I'm saying.
    Thanks,
    Earl

    Please try using FM STATUS_CHANGE_INTERN for changing System Status as i was not able to find any link between status and the field provided in FM in ur post.
    This FM directly changes system status of any object.But this FM requires System Status Value not Text.
    NOPR, NOCO etc are system texts.The main table for system status  is TJ02T which will give u the status value for the status text.
    For eg NOPR status text will have status value as 'I0070'.
    Reward Points if useful
    Edited by: Pratyasha Shishodia on Mar 14, 2008 11:07 AM

Maybe you are looking for

  • 2 iPads, 1 Apple ID, FaceTime etc.

    I had a 3rd generation iPad. I bought it two weeks ago. Then last week we had the announcement that the 4th gen was coming so I called the Apple retail store where I bought it and the guy said bring it back for a refund then order your replacement (w

  • How can i get an apple free theme?

    Hi, I'm creating a dvd and some of the themes are pretty nice but i don't want the apple of mac that is showing on all themes. Is there a way to delete it or get the themes without it? Thanks

  • Objheap.cp​p

    I have a VI that was generated in Labview 5 under WFWG 3.11. I cannot open it in windows 98; some of the sub VI's open but the main program gives the following error: Failure: "objheap.cpp", line 480. Any clues. I'm currently using version 6.1. Thank

  • HELP!  ipod will not reset

    I was listening to my ipod before i went to bed last night and everything was fine. When i unplugged it this morning and tried to play a song, the screen faded and the ipod shut down. I then plugged it in and it worked. When i unplugged it, it showed

  • Contribute Toolbar Failure To Appear in Firefox / Windows 7

    When activating the Firefox contribute toolbar extension in Windows 7, I would receive a success notice and then a request to choose a  Firefox profile.  I would get an error message when I selected a profile stating the profile was already in use.