Issue in demantra workflow

Hi all,
I am using demantra 7.3.1 version,In that how exactly the * conditional step * works real time
for ex:if I query in sql space as select 1 from table where approve=0 here my logic is that table should not contain any record as 0 if it is found it should execute false else true( so my question is that above query is more than enough for this conditional step to work or is that we need to pass any parameters???

Hi,
unless there's a new release strategy found and unless a release code is set, which is a prerequesite to another release code, there will be no further events for BUS2012.ReleaseStepCreated.
From another point of view:
For each release code that is open, there is exactly once an event .ReleaseStepCreated.
Depending on the customizing, changes to the object may reset all given release codes. The common understanding is a "within 2% value change" doesn't reset the release.
If you need to have your workflow triggered on changes, as well, you'd be off with linking it to the .Changed event. To keep compatibility with the standard's event, I won't recommend to create a .ReleaseStepCreated by another linkage (such as the .Changed-event).
Best wishes,
Florin

Similar Messages

  • Oracle Demantra Workflow Job Monitoring

    Hi Oracle,
    An issue with work flows in long running status. Error ed workflow in demantra schema. This need to be monitored.
    In Demantra schema, WF_PROCESS_LOG table stores Demantra workflows.
    I need to design
    Workflow monitoring alert, either through Demantra Alert Manager Or SCP Alert Manager responsibility Or Cron job. . Please guide me in this enhancement of this feature.
    My current env..
    Demantra - 7.3.2
    ASCP -- 12.1.3

    We had developed custom code which from within our EBS environment allows us to submit Demantra Workflows.
    Once there, the code keeps on looping through the following check to see if the specific workflow has been completed:
    SELECT COUNT(*)
    INTO cnt
    FROM wf_process_log
    WHERE schema_id = v_schema_id
    AND status = 1
    AND process_id = buff;
    where: v_schema_id = identified of the particular workflow submitted & buff = unique process ID to watch (as there could hypothetically be multiple processing running, not likely here, but in theory they could)...this info can be obtained from:
    SELECT schema_id
    INTO v_schema_id
    FROM wf_schemas
    WHERE schema_name = v_schema;
    where: v_schema = name of the workflow being submited

  • Getting Error while executing shell through Demantra workflow

    Hi All,
    I created  .sh file(shell script) for sftp(transfer file from one instance to another instance) and created new workflow with executable step.
    In command line I have given file path and file name(Example: /folder/data/bin/abc.sh). When I try to run this workflow by clicking start button it is not running. That current step is marked with red color. and below error I am getting.could u please help me
    Error description 'Process terminated with errors ,please check the process logs for more
    information.'
    2013-10-31 05:42:02,307 CET [WFProcess_39] ERROR dpweb.general: ######################################################################################
    2013-10-31 05:42:02,308 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
    2013-10-31 05:42:02,323 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
    2013-10-31 05:44:00,391 CET [ExeStepExecutionThread] FATAL workflow.general: java.io.IOException: /data/nani/bin/sh: not found
    java.io.IOException: java.io.IOException: /data/nani/bin/sh: not found
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at java.lang.Runtime.exec(Runtime.java:429)
        at java.lang.Runtime.exec(Runtime.java:326)
        at com.demantra.workflow.step.ExeStep.run(ExeStep.java:336)
        at java.lang.Thread.run(Thread.java:595)
    When I try to run the same script through putty its working fine but not through demantra workflow.

    Dear DeetiNaresh,
    Sorry I don't have a solution for this problem. But I am having this same issue. And this is only hit I have found for this issue in metalink or google. Incase your issue is resolved, it would be of great help to me, if you could post your resolution for this.
    Thanks.

  • Issue Transporting Business workflow from one System to Another

    Hi All,
    As there are many limitations in Import/Export of Workflow I'm going for a Transport of Workflow from one sytem to another.
    There are some query's reagrding transporting of the Business Workflow through Transport Request.
    1)   How can get the Transport Request no. of the Workflow to be transported? (As there are no direct versions displayed from  menu).
    2)   If there are any dependent objects first how to find the dependent objects lof workflow like if  any data element, Domain, Table, Structure (if these objects are used in your WF definition or may be BOR method), Function module, function group BOR, Rule, WF template, task and Task assignment  ?
    3) How to get Transport Request no. of such dependent objects specifically The Task,Rule , WF template etc.?
    4) I have object Type ZBUS2081 related to it how can i get its TR ?
    Please describe as I'm new to workflow.
    Please identify if there can be some issues after transporting workflow .
    Regards,
    Ujjwal

    Hi Ujjwal,
    Please find the below hint's.
    1. Regarding the objects included in the Transport request check the Tables - E070*.
    2. For dependent objects, you should check the workflow template. You have to check all the Task's and in the task go to
       utilities ---> Object directory entry --> Lock overview . Here you can see the request. It will show you the current request for    the Task.
    3. To get the TR for Business object, Go to basic data ---> Transport data --> Here you can see the Request ID for the business object.
    Thanks,
    Viji.

  • Urgent: Issue in Automatic workflow Customizing.

    hi,
    Can someone please help me with this issue in Automatic workflow customizing ( SWU3)
    When I try to execute the step
    Maintain Runtime Environment > Schedule Background Jobs with missed deadlines
    I get the error message saying
    "Output Device "" not known"
    Can someone help me how to resolve this? This is very urgent for me.
    Regards,
    Sam K

    The guidelines tell you not use the word urgent in your message title, so please don't. Personally I  try to not answer such questions until at least one day has passed, giving you some time to cool off and perhaps solve the problem on your own.
    I can't recall seing this message myself, but my guess is that either your user or the user WF-BATCH (if the job is being scheduled with that user) has a default printer (output device) that is not defined in the system.

  • Execute Shell Script through Demantra Workflow

    Hi All ,
    Can we execute shell script from Demantra Workflow ?
    If yes where should we place the shell script file and wat should be the commandline command in the step .
    We have the Demantra installed on a windows server and the workflow manager is on a linux server .
    the batch file on the windows server can be executed through the secure shell from the linux server .
    I am trying to achieve the same through thr demantra workflow
    Appreciate any input on the same .
    Thanks and regards
    Suzy

    Hi,
    Shell script is not supported till Demantra 7.2.0.2 WF.
    I have checked with Oracle team also and reply I got below for your reference:
    QUESTION
    *=========*
    As per your details, shall we conclude like this:
    *"only *.bat and *.exe files can be used in workflow. Demantra standard functionality doe*
    *s not support shell script in workflow"*
    ANSWER
    *=======*
    Hi ,
    The Demantra standard functionality 7.2.0.2 does support shell script in workflow.
    Thanks,
    Asya
    Please review the note#468071.1-Unable to Run EBS Workflows that Call EngineManager.exe in
    You will find this note is referring to the Enhancement Request Bug 6644455-- ANALYTICAL ENGINE
    NOT AVAILABLE ON UNIX/LINUX
    But the enhancement bug exist and I hope it is fixed in Demantra 7.3.
    Tks
    MJ

  • Demantra workflow termination from DB

    Hello all,
    Is there a way to terminate demantra workflows from the database?
    thanks and regards
    esti

    If the workflow calls a Plsql procedure and if you see the connection to the database in the session manager using TOAD or any tool, then Yes.
    Thanks
    Giri Ponnumani
    +1416.473.2795
    [email protected]

  • Demantra Workflow Migration to other Instance

    Hi All,
    We have created a small demantra workflow. Is there any way to migrate the same demantra workflow to other instance.
    Please help me out.
    Regards,
    Ajay Kunde

    Hi Ajay,
    Demantra provides us the capability of exporting the data model as a dump file.This dump file can be imported into the new instance to migrate all the objects of one instance to the new instance.This approach will be helpful when there are many Demantra objects to be migrated.
    But in case where the objects are very little, it is always advisable to recreate the objects in the new instance to avoid post migration work.
    I hope I answered your query. Expecting more replies and perspectives.
    Regards,
    Shekhar

  • Demantra Workflow issue

    Hi Guru's,
    I have a issue with workflow. I created a new workflow and when I wanted to run, it is showning as Yellow (Not available process). This happens as soon as I bounce the instance. I could not run the workflow once. Why is this happening?
    Thanks
    Ramkri

    Hi Ramkri,
    If you are seeing the "START" button as disabled for your workflow. This means you cannt run it as you have configured it to be launched using a level method.
    Once you remove the association of the workflow with your method, you will be able to launch it from the workflow manager page. (You might need a server re-start)
    Also, would suggest, if possible you first define the workflow and ensure it works fine on its own. Then you shall try to launch it from a method.
    Hope this helps.
    Cheers
    Raj

  • Run a batch file from demantra workflow

    I am trying to run a batch file from demantra's workflow by creating an executable step.
    I am getting the following error.
    Error description ’’Invalid command line:’’"D:\Oracle Demantra Spectrum\Collaborator\demantra\sop\populate_staging.bat"
    I am giving the following value in command line of executable step.
    "#application_root#\sop\populate_staging.bat"
    The batch file exists in the appropriate folder.
    Following code is in the batch file.
    sqlldr userid=msdem/msdem@demsbx control=load_item_hier.ctl
    Please help me.
    Thanks

    This should work for you-
    Create a batch file on your current server (ODI) and write in the path to the other batch file on the other server.
    //Server2completename/D$/Path/yourbatchfile.bat
    From ODI call your batch file that you created on the same machine.. which will inturn call the other batch file on a different machine to execute batch client.
    Also can you paste the errors that you may be getting.. need to check if you are getting any specific issue related to this.
    Thanks
    Denzz

  • Demantra Workflow Problems

    I am having difficulty getting the workflow for the Engine Manager.exe run properly. The web application is on a Linux server and Demantra apps is on a Windows 2003 server. I use an SSH connection between the two server and can actually launch the engine successfully but it won't complete. I get the following errors:
    ERROR Could not marshall callback interface! HRESULT=0x80070005 - Access is denied.
    15:38:34:190 ERROR Failed to get branch ID. HRESULT=0x80070005 - Access is denied.
    It seems like some kind of permission issue on the apps server (Win 2003)?
    In short, enginemanager.exe works when you ssh in to APPSDEM01 (Win 2003) from APPSPLN01 (Linux) only if you supply the password for the ‘oracle’ account when it asks for it. If you set up APPSPLN01 to be able to ssh into APPSDEM01 without a password, then process fails. I do not know what rights may need to be assigned on APPSDEM01.
    PS - I have an open SR (7272166.994) on this issue in Metalink but Oracle has not responded...I think we have them stumped :)

    Similar issue/error is reported in [Bug No. 7293185 - DEMANTRA: NEED TO INSTALL SSH AND CREATE USERS IN WINDOWS MACHINES|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=7293185]. You may ask the support analyst to refer to the bug and get the solution as it is not available for public access.

  • Issue in clearing workflow notification

    Hi,
    Oracle EBS:11.5.10.2
    OS: AIX 5.3
    after resolving the workflow issue i had a stopped queue of of around 5000 mails.
    to purge that queue I followed the oracle Action plan.
    1. Stop Workflow Agent Listeners and Mailers
    2. Find the tablespace where indexes on corrid for queue tables are created :
    select distinct tablespace_name
    from dba_indexes,dba_queues
    where index_name like 'WF%N1'
    and table_name=queue_table
    and name like 'WF%';
    3.
    update wf_notifications
    set mail_status = 'SENT'
    where status in ('OPEN', 'CANCELED')
    and mail_status in ('MAIL', 'INVALID')
    commit;
    4. Rebuild mailer's queue :
    sqlplus apps/APPSpw @$FND_TOP/patch/115/sql/wfntfqup APPS APPSpw APPLSYS
    when i reuild the queue I am facing with the error:
    error faced while running the script(rebuild mailers queue)
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:02.67
    Commit complete.
    Elapsed: 00:00:00.01
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:03.93
    Commit complete.
    Elapsed: 00:00:00.00
    declare
    ERROR at line 1:
    ORA-20000: Oracle Error = -942 - ORA-00942: table or view does not exist
    ORA-06512: at line 281
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    appldev@ebtstdb on /ebdevdbh/app/ebprdappl/fnd/11.5.0/patch/115/sql #
    regards,

    ERROR at line 1:
    ORA-20000: Oracle Error = -942 - ORA-00942: table or view does not exist
    ORA-06512: at line 281Please check line 281 of the script to find out what table/view (object) the script is complaining about.
    Thanks,
    Hussein

  • Issue in PO Workflow

    Hi Experts ,
    I have a issue in PO release workflow . 
    When ever PO is created with release strategy , in SWEL   the below  Object types and events are visible .
    Object name    Event                                  date                         time             receiver
    BUS2012            CHANGED                    05.01.2009                    19:44:14       SUBSCRIBE     
    BUS2012            RELEASESTEPCREATED     05.01.2009     20:25:38        WS9300080
    This is the currect entry which was comming in SWEL and my workflow (  WS9300080 ) was running fine  based on the  event " RELEASE STEP CREATED "  .
    Now the below entry comes and workflow is not gettng triggered .
    Object name    Event                                  date                         time             receiver
    BUS2012            CHANGED                    09.02.2009                    19:44:14       SUBSCRIBE
    The entry for  event " RELEASE STEP CREATED" is missing now .
    Can any body please tell me where i am doing the mistake so that the entry is missing in SWEL .
    This is a issue in PRD client so hope to get some quick responce from you guys .
    Regards
    Sarmistha

    Hi,
    unless there's a new release strategy found and unless a release code is set, which is a prerequesite to another release code, there will be no further events for BUS2012.ReleaseStepCreated.
    From another point of view:
    For each release code that is open, there is exactly once an event .ReleaseStepCreated.
    Depending on the customizing, changes to the object may reset all given release codes. The common understanding is a "within 2% value change" doesn't reset the release.
    If you need to have your workflow triggered on changes, as well, you'd be off with linking it to the .Changed event. To keep compatibility with the standard's event, I won't recommend to create a .ReleaseStepCreated by another linkage (such as the .Changed-event).
    Best wishes,
    Florin

  • Condition step issue in a workflow

    Hi Gurus,
    I have a condition in my workflow which checks for an attribute value of he business object if its equal to 'X' based on which it takes two different paths for 'yes' or 'no'. I find it always takes the 'no' path irrespective of what is the value of the attribute whether 'X' or space. I have done this kind of steps many times in the past and never had an issue like this.
    I check the attribute value gets populated well in the container.
    Has anybody faced this ind of issue, great if some body can tell if I am missing on any thing. I am on ECC6.0
    Any help will be highly appreciated.
    Thanks
    Sasi

    Hi,
    say your attribute as 'flag'
    and you are trying to check  flag = X   yes then do something,
    for No do something else
    check whether flag is populated correct and bindings are done correctly.
    Kind Regards
    Hari Sankar M

  • RFC issue in Triggering workflow

    Hi,
    I am trying to trigger a custom workflow from EP in Newly set up ECC 6.0 system.
    Problem here is, Business object Event is getting triggered in R/3 with custom workflow as reciever, but the workflow is not going to the first stepThe event trace (SWEL) gives following information,
    Action                   Receiver started correctly
    RFC Status           Logon not possible (error in license check)
    I have checked the configuration in SWU3, all where fine, also the RFC WORKFLOW_LOCAL_100 tested successfully. The ECC6.0 has the full license.
    Please let me know why this has happened? How can it be solved? Please reply ASAP.
    Thanks,
    Shrinivas

    Hi,
    WF-BATCH has validity till 12/31/9999 and also the workflow initiator has SAP_ALL authorization,
    Still the issue has not been solved. New thing i noticed this this problem happens intermittently !
    For some time it is working fine, some other time its giving the same RFC error.
    Thanks,
    Shrinivas

Maybe you are looking for

  • Do I need to return my mac.

    I purchased some DVDs on the web for backing up photos and had no end of trouble with them. Basically sometimes they would not be recognised (Literly when you put them in the drive the mac would not see them) Some times it would but the burn would al

  • Xpath expression don't work

    i need to select two "sect" by idtry {             // parse the XML as a W3C Document             DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();             Document doc = builder.parse(new File("book1.xml"));   

  • Weblogic Problems

    Hello everybody: From a time to this part weblogic remains freeze after which the application that we have developed it makes external connections (Databases connection, HTTP connection, etc.). Weblogic remained freeze yesterday after which a databas

  • Exporting Enhanced Podcast

    Using GB 08 to create enhanced podcast with embedded jpeg files of PowerPoint presentation. Completed the episode and exported using export to iTunes but it only appears in iTunes as a AAC music files no images appear. I tried exporting to disk and a

  • I have Firefox 12 on my Windows XP Service Pack 3 system, but some websites, like Gmail, state that I'm using an old browswer and need to update. Help?

    Deleted Firefox 11, cleared cache, installed Firefox 12. When I go to the "About Firefox" tab, it says that I have FF 12 and that no updates are needed. Computer: Windows XP 2002 Professional, service pack 3 Problem: Many websites, including this one