Custom Workflow Process

Hi All,
I am trying to integrate the custom UI with human workflow process. Once the human task is initiated in BPEL, the workflow reference links in the email generated should point to custom UI links.
I have developed the UI application where the user can approve or reject the any transaction. Once the user approves the task the control should be sent back to BPEL process with the outcome.
If the above case is possible, could anyone please provide me some pointers or documentation.
Thanks
Ramana.

Hey,
Thanks for the reply. I guess I didn't put my question clearly. What I am trying to achieve is different.
Here is my question:
Usually for the Human Task activity the owner can approve the task going to URL (http://host:port//integration/worklistapp), but in my case I want to use custom UI instead of standard worklist app url.
In the custom UI user can approve and the approval information is sent back to BPEL human task and I will proceed further with other activities after the approval. I am planning to use portal applications for custom UI.
Thanks,
Ramana.

Similar Messages

  • Cannot Access Custom Workflow Process List (SharePoint 2007)

    Does anyone know how to access the "Custom Workflow Process" list when using custom form actions in SharePoint 2007?
    There are quite a few items in this list and I need to reduce the list item size.
    Thank you for checking!

    Did you try below script
    social.technet.microsoft.com/wiki/contents/articles/powershell-script-to-list-out-webparts-used-in-publishing-pages-in-sharepoint-2007-and-sharepoint-2010-sites.aspx
    param([switch]$help)
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Publishing")
    function GetHelp() {
    $HelpText = @"
    DESCRIPTION:
    This script will list out the webparts type along with the names in publishing pages in any site .
    $HelpText
    function RahulPublishingPageWebParts() {
    write-host "This script will enlist the webparts used in all publishing pages in this site"
    write-host "Please enter theURL of the site"
    $siteURL = read-host
    $site = New-Object Microsoft.SharePoint.SPSite($siteURL)
    $web = $site.OpenWeb()
    $webPublish = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web)
    $pages = $webPublish.GetPublishingPages()
    foreach($page in $pages)
    $manager = $web.GetLimitedWebPartManager($page.Url,[System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $webCollection = $manager.WebParts
    if($webCollection.Count -ne 0)
    write-host "The page " $page.Title " contains these webparts"
    for($i =0;$i -lt $webCollection.Count; $i++)
    write-host ($i + 1).ToString() " " $webCollection[$i].GetType().Name " " $webCollection[$i].Title
    $site.Dispose()
    $web.Dispose()
    if($help)
    GetHelp; Continue
    else
    RahulPublishingPageWebParts
    If this helped you resolve your issue, please mark it Answered

  • Custom Workflow using Oracle Workflow in ContentDB

    Hi,
    Could we use custom workflow which is made using Oracle Workflow instead of BPEL.
    Regards,
    Yulisar

    Having registered custom workflows for Content DB via Enterprise Manager, potentially you can use any tool capable of dequeuing/enqueing messages from the IFS_BPEL_OUT/IFS_BPEL_IN advanced queues as part of a custom workflow process.
    By default, we assume you are using Oracle BPEL PM with its Advanced Queue adapater to process the queue messages. However, there is nothing stopping using Oracle Workflow or any tool for that matter.
    HOWEVER!!! Warning!!! There is a high probability that Content DB will drop the bundled Oracle Worflow installation in the near future. What this means, is that you should consider installing/configure/patching your own separate Oracle Workflow installation and not rely on the bundled Content DB solution which is used internally for Serial and Parallel Approval workflows.
    thanks,
    Matt.

  • 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

  • PO workflow process raises event but subscription does not fire

    Hi:
    We are sending POs electronically in XML (11.5.10.2). The PO reaches the supplier correctly. The workflow process to send the PO to the supplier completes successfully. The workflow diagrammer shows that the process fully completes. The last task in the standard process raises an event called oracle.apps.po.event.xmlposent. By default this event has no subscriptions, but I created a subscription that will call a custom workflow process. In testing, I can manually raise this event, and my custom process works. But when the full process runs and completes my custom process does not run. Again, according to the workflow diagrammer, the event in question gets raised. I find no evidence of the event in question in an queue. Why would the process complete, including the step to raise the event in question, but I find no trace of it.
    Can anyone suggest additional debugging steps or a solution?
    Thank you!

    Hi,
    I have answered your duplicate post on the [WorkflowFAQ forum|http://smforum.workflowfaq.com/index.php?topic=1045.0].
    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

  • Workflow process does not complete for 3500 but works for about 10 records

    Hi Gurus,
    I am a novice in workflow. Pls bear if the questions are very basic.
    We have a old custom workflow process which is inistaed by a PL/SQL procedure
    WF_ENGINE.CreateProcess ---
    WF_ENGINE.StartProcess ---
    COMMIT; ---
    Now this process has run for over 6-7 years but has always processed max upto 8 or 10 records at a time. Now we had about 4000 records in a table and the process was running for more than 4 days now and it has been termiinated.
    I could not see any new item_keys. Is it because we have a commit only at the end.
    This process has 3 sub processes. they are connected by 'AND' and then we have an 'End' node.
    The first sub-process is simple and we can see a record in wf_items .
    Howver no records are there in wf_items for the 2nd and 3rd sub processes.
    How can we check the point where it has hanged. Querying Status monitor just gives the first sub-process that has completed. How to debug for these cases.
    This has always worked for small volumes. Now we have about 4000 records and we face this problem
    The process actually checks data from the table and based on some conditions , it send 5 different notifications to 5 different mail groups. So we expect about 4000*5 mails to be sent.
    Any help is welcome.
    Thanks,
    L
    Edited by: 901929 on 20-Jul-2012 01:38
    Edited by: 901929 on 20-Jul-2012 01:39

    L,
    Please check the following:
    1. Since this is pure PLSQL you can have a SQL script where you enable a database event to get a trace and then run tkprof on the output to spot any performance problem. You can use something like:
    alter session set tracefile_identifier='Background' max_dump_file_size='unlimited' events '10046 trace name context forever, level 12';
    begin
    wf_engine.CreateProcess(...);
    wf_engine.StartProcess(...);
    end;
    commit;
    alter session set events '10046 trace name context off';
    select fnd_debug_util.get_trace_file_name() tracefile from dual;
    2. Do you happen to know if WF runtime tables are being purged regularly? If this is not done you can expect serious performance problems. If this is WF Apps embedded you need to clean data using the concurrent request Purge Obsolete Workflow runtime data, if not then you can use the APIs in package WF_PURGE.
    3. You will only find one record in WF_ITEMS for this process if those sub-processes belong to the same item type
    4. About the notifications, make sure you are not running into this design problem: https://blogs.oracle.com/oracleworkflow/entry/looping_within_a_workflow_process
    Regards,
    Alejandro

  • Mass Maintenance will recognize any customer record in workflow process

    Hi gurus,
    Please help me on the Workflow process, how to handle below workflow  scenario,  is there any logic be hand this.
    please see in BOLD workflow issue.
    1.2     As-Is Business Process
    Currently Data Maintenance teams use standard SAP transaction XD07 to change Customer Account Groups. The standard transaction XD07 allows only one Customer Account Group to be changed at a time. The process is to be manually repeated for every customer. After the Account Group is changes in the request client (X07(10)), an RFC call is made to the BOR client (X07(20)) and then to the transaction client  (X08(10)) to change the Customer Account Group as the SAP ALE process does not support Account Group Changesu2026
    1.3     To-Be Business Process
    From time to time, bulk customer data updates will be needed. This can be the result of business situations that cause multiple updates to be performed for given customer fields such as Customer Account Group field. A new program must be developed to let the user mass update the Customer Account Group field (KNA1-KTOKD). The Program should be accessed on demand using a new T.Code (YMDM_ACCTGRP_CHG).
    Business users will submit a spreadsheet in the appropriate upload format to CDM along with written approval from the Food Service data owner to execute the upload in P07. CDM will execute the upload, record all documentation for the audit change log and notify the submitter when complete
    1.4     To-Be Business Process Flow Diagram
    1.5     Enhancement Functionality
    The following are the requirements:
    u2022     This tool will enable a user to perform bulk update to the customer account group field.
    u2022     The utility should let the user upload a u201CTab delimitedu201D file to mass update the Account Group field.
    u2022     The Load File will have 3 columns, Customer Number (KNA1-KUNNR), Current Account Group (KNA1-KTOKD) and New Account Group (KNA1-KTOKD).
    u2022     The Program must utilize the process behind the standard SAP transaction XD07 to change customer Account Groups in X07(10).
    u2022     The standard customer ALE (DEBMAS) process does not support Customer Account Group changes, so the mass change program must use the RFC functionality to change he Account Groups in the BOR (X07(20)) and Transaction system (X08(10)).
    u2022     Workflows for all updates performed using this T.Code are automatically approved.  No manual approval steps will be needed after data load.
    u2022     Mass Maintenance will recognize any customer record that has an open workflow. If a customer record is already in the request queue, it is u201Coff limitsu201D for any bulk update. That update request to that particular customer record must be rejected.
    u2022     Provide the option to run the process in validation mode and update mode.
    u2022     Report all hard and soft legacy field errors on a validation report.  All u201Chardu201D legacy field validations should be passed before allowing update mode to run.
    u2022     The upload process will produce an error log for all records not loaded into the system.

    see newer message. Problem appears to be related to gmail

  • Customizing Workflow approval process

    Hi,
    I have a requirement to customize the 'Change Pay' workflow process in item_type 'HRSSA' to route it through custom approvers derived through PL/SQL code. Please let me know as to where to start from and where do I place my custom function whcih derives the approvers in the workflow process.
    If I remove the process name from the AME condition, it doesn't go for any approval as I can see in the Status diagram. The 'IsFinalApprover' node in 'Notification Process for Approvers and Notifiers' returns Y and the process ends.
    Thanks,
    R

    Thanks for the reply.
    But the requirement is quite complex to be achieved through AME. For ex: the approval notification should timeout conditionally based on the recipient of the notification which cannot be achieved through AME.

  • Open url link in custom workflow. SharepPoint 2010

    Hi, i created custom workflow in Visual studio 2010. I want my workflow opened page of the site. In workflow i using method - Process.strart("http:\\mysite\myform.aspx") try to open the page. But my workflow is completed after his the start.
    Browser does not open the page i have. Can you please tell me how best to do to open up the site url in the workflow code. Thanks.

    I don't think you can.  Workflows run in a background thread on the server, so even if you were able to open a web page it would open on the server, not the client.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • OIM: Error while deploying Custom Approval Process for Self-Register

    While deploying the Custom Approval Process for Self-Register, i am getting the following error in scac.log file
    Nov 16, 2011 2:48:58 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Nov 16, 2011 2:48:58 PM com.collaxa.cube.CubeLogger info
    INFO: validating "ApprovalProcess.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Nov 16, 2011 2:49:00 PM CubeProcessGenerator compile
    WARNING: classpath is: D:\JDev11g\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;D:\OIMPS1\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\gen-classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\lib\oimclient.jar;D:\JDev11g\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes
    In scac_out.xml file following is the error message
    <Fault>
    <severity>error</severity>
    <loc>/ns:composite</loc>
    <line/>
    <col/>
    <file/>
    <msg>
    <![CDATA[SCAC-50012]]>
    </msg>
    </Fault>

    Hi,
    I have run into the same problem with SOA 11.1.1.5 version. In my case after fixing the following two errors it seems to work fine.
    If you have followed the guide, there must be some errors:
    First the java code if copied then contains an extra enter value:
    Instead of:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization
    Administrator");"
    Use the following:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization Administrator");"
    The other error is that you should not use <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar, but the <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar in jdeveloper. After these the deployment to the application server works fine for me.

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    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]

  • 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

  • Interrupt workflow process in process controlled workflow

    Hello experts,
    In a custom requirement, we need to interrupt the workflow process.
    For example, if we have 4 levels of approval. After the 2nd approver has approved the shopping cart, then the workflow process should be kept on hold. Based on a custom interface result, if the condition from another interface is satisfied, then the shopping cart should appear in 3rd approver's UWL.
    I tried with triggering interrupt method of class /SAPSRM/cl_wf_apv_facade in save BADI of shopping cart. But it did not work.
    Please let me know how can i interrupt the workflow process till some custom condition is satisfied.
    Regards,
    Yayati Ekbote

    Quite often this kind of requirements can be fulfilled by using wait steps in the workflow. One example could be that you put a "wait for event" step in your workflow template. Then you could trigger this event from your interface (or whatever) with function module SAP_WAPI_CREATE_EVENT.
    Maybe I should ask that how do you know that the condition has been fulfilled? Is it a field in a certain table, or? If yes, instead of the "wait for event" step, you could also wait that your condition is fulfilled (a field in your table gets value X). Just take a look into the workflow template and its step types. Wait step is the way to go.
    Of course it might be possible that in the SRM/shopping cart workflows, there is already something built-in, which can be then utilized by using some of the BADIs, but if you cannot find anything from the documentation, then choose one of the above-mentioned approaches.
    Regards,
    Karri

  • 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

  • Oracle Custom Workflow Redesign best practices

    Hi All,
    Morning , need some help with this scenario.
    We are in the process of redesigning existing developed custom Oracle Workflows in our system ( Oracle Apps Release 12.0.6 )
    hence wanted to know if there are steps or guidelines/best practices which could be followed in this situation on points like handling performance issues with the workflow , how to handle the purging of the obsolete workflow data , design steps regards notifications, how to handle error conditions with workflow activities and how to retry activities ( means if any activity within the workflow process shows error how it could be retried or re executed in real time without any delay).
    means any pointers which could be considered for this redesign actvity , any best practices document/steps and guidelines would be really very very helpful here...
    Regards

    This is a very broad question - narrowing it to specifics might help folks respond better.
    There are a lot of documents on MOS that refer to best practices from a technology stack perspective.
    Oracle Workflow Best Practices Release 12 and Release 11i          (Doc ID 453137.1)
    As far as functional practices are concerned, these may vary from module to module, as functionality and workflow implementation vary from module to module.
    FAQ: Best Practices For Custom Order Entry Workflow Design          (Doc ID 402144.1)
    HTH
    Srini

Maybe you are looking for