Basic workflow query

Hi,
I am trying to test how workflow works. I have created a button in the form to initiate workflow. The workflow contains simple start --- email notification -- End. So everytime I click the button it should send email notification.
<!-- MemberObjectGroups="#ID#Top" createDate="Thu Jul 06 17:17:03 CDT 2006" id="#ID#4CD857A30347C2E8:-3462B76:10C453E9D70:-7FF4" name="P1-WF1" visibility="runschedule"-->
<TaskDefinition id='#ID#4CD857A30347C2E8:-3462B76:10C453E9D70:-7FF4' name='P1-WF1' lock='Configurator#1152287891764' creator='Configurator' createDate='1152224223915' lastModifier='Configurator' lastModDate='1152287591718' lastMod='94' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
<Extension>
<WFProcess name='P1-WF1' maxSteps='0'>
<Activity id='0' name='Start'>
<Transition to='Email Notification'/>
<WorkflowEditor x='175' y='22'/>
</Activity>
<Activity id='1' name='End'>
<WorkflowEditor x='376' y='383'/>
</Activity>
<Activity id='2' name='Email Notification'>
<Action id='0' application='com.waveset.provision.WorkflowServices'>
<Argument name='op' value='notify'/>
</Action>
<Transition to='End'/>
<WorkflowEditor x='376' y='224'/>
</Activity>
<WFProcess name='process1' maxSteps='0'>
</WFProcess>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
<Properties>
<Property name='editorOriginalName' value='P1-WF1'/>
</Properties>
</TaskDefinition>
Now if I initiate the workflow I should get sometext in notification.txt file as I configured the same in properties file. But after clicking I get the option for launch process and it doesn't show any process. Just wondering what needs to be configured to test simple workflow like this to start with.

Without a template or toAddress specified, i don't think any mail would be sent.
Also, how are you invoking the workflow?

Similar Messages

  • Program Workflow Query

    Thanks for reading!
    As a self-taught web designer, I have always used a basic text editor to accomplish my work.  I've had cloud for nearly a year and have only dabbled slightly in Adobe Muse before returning to my usual ways.
    I'd really like to start getting to use the web design software, and as an animator by education, Edge Animate really appeals to me.  What I am struggling with though is the basic workflow I should be adoptiong when trying to use all these programs in any particular project?
    Should I be starting in Dreamweaver?  I heard Muse was supposed to be a sort of brainstorming type of program so should that come first?
    Say for example I am creating an inventory system using PHP and MySQL, where should I start?  And would this workflow change with different genres of site, say, for example, an artist's portfolio?
    I apologise if it sounds dumb, but I just don't know where to start!

    Muchas gracias señora!
    One question. Would I design the original layout in DW and export it to Edge Animate then back in again?  Or just create the edge animate composition separately?  I guess either way round is fine?
    I am actually designing an inventory system in PHP/MySQL atm, most of it with textwrangler on the mac, would it be wise to import it into Dreamweaver and continue from there?
    Thanks again!
    P.S.
    I used Muse once, it was awful

  • Basic SQL query scripts for SAP B1

    hi guys,
    do you have any documents, guides or reference links regarding basic SQL query scripts for SAP B1?
    thanks and have a nice day!
    blake p.

    Hi
    You can also check SBONotes.com.
    For sql understanding , you can search in websearch - tsql and it will pop up with informations you need.
    You can also refer to forum once you understand the basic techniques
    Hope this helps
    Bishal

  • Basic Workflow material

    Hi All,
    Please provide me with basic Workflow material.
    Thanks.

    Hi Sanjiv N  ,
    SAP Workflow is a tool to automate complex business processes where there is more than one user involved. SAP workflow maps the position in organization because SAP believes that Positions are more stable than the people.
    SAP Workflow is a process tool that is designed to facilitate and automate business processes involving the tasks sequence performed by the users (people in the workplace) and ensure that the right work is assigned in the right sequence at the right time to the right person in the workflow. The SAP workflow can be linked to other software tools such as Microsoft Outlook or Lotus Notes. Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes. The SAP Workflow enables the process owners to track deadlines, determine the workload as well as provide statistics on the length of time to complete work processes.
    The key components of the SAP Workflow include the Workflow Definition, Work Items, Events triggers and the Organizational Structure in the workplace.
    Technically SAP Workflow is an integrated part of SAP application server.
    Example 1
    [[Approval procedure in Procurement. Some person creates a Purchase Order which must be approved by one or another (or even more than one) manager depending on the amount]]
    Example 2
    Suppose Person A is EDI administrator. It is defined that all EDI related jobs will be done by him. It is also defined that in his absence another person will do his job. If person A wants to take a planned leave and then he wants all his jobs assigned to him in his absence to be assigned to person B. He will nominate the person B in SAP and then SAP automatically assigns the job of A to B.
    The following websites contain  PDF & PPT docs on workflow with examples:
    Practical Workflow for SAP
    http://www.sap-press.com/downloads/h950_preview.pdf
    An expert guide to new SAP workflow capabilities
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034
    Workflow
    http://iris.tennessee.edu/Blueprint/Workflow/Workflow.doc
    Workflow Scenarios
    http://help.sap.com/saphelp_nw04/helpdata/en/04/926f8546f311d189470000e829fbbd/content.htm
    SAP Business Workflow
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    Home to SAP R3 Webflow - Workflow ->
    http://www.erpgenie.com/workflow/tips.htm
    Why use SAP Workflow?
    http://www.insightcp.com/res_23.htm

  • Is it possible to remove the contribution step in the basic workflow?

    Hi,
    Our client wants complete control on the the steps and users for each step of the workflow.
    This is the approach they want to follow.
    There would be a default workflow associated for all content. Any updates to any manged content will have to go through this workflow. There will be only one step having one user for this workflow. Whenever content changes the workflow routes to this user. This user will then decide to define the steps and users for the steps of workflow to be asscoiated to this content.
    We thought of making it simple by using a critera workflow and basic workflows to achive this. The default workflow which I was saying would be the criteria workflow. Now once the workflow taskt comes o the user's basket he will then create a basic workflow for the content id with required steps and the users. He will then accept the criteria workflow and start the basic workflow immediately. But we have to ensure somehow that this content of criteria workflow should not be published. We are using content publishing uitility. Hope we can do something there. What I mean by not published here is that content changes made in the basic workflow should not be visible to the end site but they should be visible in the basic workflow.
    Now the concern is that in basic workflow there is a mandatory contributor step which is not really required for us. How can we avoid it. And we how to ensure that the approved contents of criteria are not published unless the basic workflow is approved?
    Regards,
    Pratap

    Pratap,
    I think you will have to mix several standard mechanisms to achieve what you are looking for.
    Note that there are two basic ways to achieve that an item is not accessible:
    - item's state (sending an item to a workflow or leaving it in pending state before the item is published belong to this option)
    - item's security (security groups, accounts, ACLs, etc.)
    If you want to have an item in a state that it has not entered a workflow (I'm not sure, but I think it wouldn't be a good idea to mix criteria and basic workflows), but it has to be accessible to a certain group of users, you may have to:
    1) check the item in so that it is accessible to the selected group of users only (published, no workflow)
    2) have the users start the workflow
    3) somewhere (most likely at the beginning of the workflow) relieve the security restriction so that "normal" users can access it during the workflow
    4) as soon as the workflow finishes, it will be available to everyone
    as for 1) I'd consider ACLs (Collaboration Manager component)
    Another option is to write a component with your own logic - if from any reason the standard mechanisms will have too many obstacles to overcome.
    I'd also recommend to consider using BPEL workflows rather than basic workflows - they are equally flexible (if not more) and they can be more easily combined with criteria workflows. You could:
    1) create a general criteria workflow which would grab any new item
    2) the criteria workflow would have just two steps: step 1 - grab an item, wait until BPEL workflow is defined/selected, then continue; step 2 - a synchro step which wait until BPEL workflow finishes, then continue or finish right away
    Jiri

  • HT1550 Please suggest basic workflow for importing .wav

    Please suggest basic workflow for importing .wav from a (Zoom H4n) SD card. How about keeping the .wav on the MacBook and converting to an other format at the same time. Is there a RAW-to-JPEG analog for this?

    AppleHarvest wrote:
    Please suggest basic workflow for importing .wav from a (Zoom H4n) SD card.
    File > Add to library and select the folder with the files on the SD card.
    How about keeping the .wav on the MacBook and converting to an other format at the same time.
    iTunes prefs > General.
    Click the Import Settings... button and set the format you want the files to be.
    Hold Option and File > Create AAC - Convert to AAC (or whatever format you selected above) then select the folder with the files on the SD card.
    This will import/convert the files at the same time.
    The WAV files will remain untouched on the SD card. They will not be on the computer (the the AAC version will be in iTunes).

  • Problems with basic spatial query

    I'm trying to learn Oracle Spatial working with 11g R2 and with 3D georeferenced data (specifically data describing buildings in a city).
    But I'm having trouble getting a basic query to work on my dataset (it works for the book example), and I'm trying to do it exactly the way it's done in the Spatial Developer's Guide for 11g.
    To learn how spatial queries work, I set up the cola_markets tables used in the documentation, made the appropriate manual entry in the user_sdo_geom_metadata view and created the index. Having done that, I can run the following simple query (as well as the others in the manual) on the book tables:
    SELECT SDO_GEOM.SDO_DISTANCE(c_b.shape, c_d.shape, 0.005)
    FROM cola_markets c_b, cola_markets c_d
    WHERE c_b.name = 'cola_b' AND c_d.name = 'cola_d';
    but when I try to do the same thing on my own tables (created from citygml data), I get an error. There is the difference that the data is 3D, and the index was created without any PARAMETERS ( ... ), hence is just 2D. But still I don't get why the following query doesn't work:
    SELECT SDO_GEOM.SDO_DISTANCE(c_w.envelope, c_b.envelope, 0.0005)
    FROM cityobject c_w,
    cityobject c_b
    WHERE c_w.id = 50025
    AND c_b.id = 50018;
    The id's for the buildings are valid, and I used the same tolerance used by the software that set up the database.
    Here's the error I get in SQL developer:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause: A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action: Modify Java code, if this behavior is not intended.
    So, thinking it might have something to do with the fact that it's a Java interface, I also tried running it from SQL/PL command line and get essentially the same thing:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.Exception: 54535
    ORA-06512: at "MDSYS.SDO_3GL", line 637
    ORA-06512: at "MDSYS.SDO_GEOM", line 1973
    ORA-06512: at "MDSYS.SDO_GEOM", line 1990
    Any ideas why this isn't working?

    Hi,-
    There are many ways to model a building with our open 3D data model:
    Please note that each polygon can be any planar surface as long as you dont use
    shortcut definitions like axis-aligned box as Siva mentioned. We dont allow curved surfaces in 3D.
    Gtype 3003 can be composite surface which means each polygon should be connected to another polygon with an edge. Etype must be then 1006. You can have as many polygons as possible as long as they are connected.
    Gtype 3003 can also be a single polygon. But, this will not be able to model a building.
    As you pointed out, maybe it is the footprint of the building.
    You can also model building with gtype 3008 which is simple or composite solid.
    Etype 1007 means it is simple solid and etype 1008 means it is composite solid.
    Composite solid has one or more solids which has at least one full or partial common surface in between.
    In your case with single polygon, you can use sdo_util.extrude as follows to make
    3D buildings. The surfaces created will be on the out-side surface of the building.
    You will not have walls inside the building when you use this following function:
    SELECT SDO_UTIL.EXTRUDE(
      SDO_GEOMETRY(
        2003,
        null,
        null,
        SDO_ELEM_INFO_ARRAY(1,1003,1),
        SDO_ORDINATE_ARRAY(5, 1,8,1,8,6,5,7,5,1)),
      SDO_NUMBER_ARRAY(0,0,0,0,0),
      SDO_NUMBER_ARRAY(5,10,10,5,5),
      0.005) from dual;
    SDO_UTIL.EXTRUDE(SDO_GEOMETRY(2003,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1003,1),SDO_O
    SDO_GEOMETRY(3008, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1007, 1, 1, 1006, 6, 1, 10
    03, 1, 16, 1003, 1, 31, 1003, 1, 46, 1003, 1, 61, 1003, 1, 76, 1003, 1), SDO_ORD
    INATE_ARRAY(5, 1, 0, 5, 7, 0, 8, 6, 0, 8, 1, 0, 5, 1, 0, 5, 1, 5, 8, 1, 10, 8, 6
    , 10, 5, 7, 5, 5, 1, 5, 5, 1, 0, 8, 1, 0, 8, 1, 10, 5, 1, 5, 5, 1, 0, 8, 1, 0, 8
    , 6, 0, 8, 6, 10, 8, 1, 10, 8, 1, 0, 8, 6, 0, 5, 7, 0, 5, 7, 5, 8, 6, 10, 8, 6,
    0, 5, 7, 0, 5, 1, 0, 5, 1, 5, 5, 7, 5, 5, 7, 0))
    The following example returns the three-dimensional composite solid geometry representing an extrusion from a two-dimensional polygon geometry with inner rings.
    SELECT SDO_UTIL.EXTRUDE(
      SDO_GEOMETRY(
        2003,
        null,
        null,
        SDO_ELEM_INFO_ARRAY(1, 1003, 1, 11, 2003, 1,
          21, 2003,1, 31,2003,1, 41, 2003, 1),
        SDO_ORDINATE_ARRAY(0,0, 8,0, 8,8, 0,8, 0,0,
          1,3, 1,4, 2,4, 2,3, 1,3, 1,1, 1,2, 2,2, 2,1, 1,1,
          1,6, 1,7, 2,7, 2,6, 1,6, 3,2, 3,4, 4,4, 4,2, 3,2)),
      SDO_NUMBER_ARRAY(-1.0),
      SDO_NUMBER_ARRAY(1.0),
      0.0001) from dual;
    SDO_UTIL.EXTRUDE(SDO_GEOMETRY(2003,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1003,1,11,200
    SDO_GEOMETRY(3008, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1008, 4, 1, 1007, 1, 1, 10
    06, 16, 1, 1003, 1, 46, 1003, 1, 91, 1003, 1, 106, 1003, 1, 121, 1003, 1, 136, 1
    003, 1, 151, 1003, 1, 166, 1003, 1, 181, 1003, 1, 196, 1003, 1, 211, 1003, 1, 22
    6, 1003, 1, 241, 1003, 1, 256, 1003, 1, 271, 1003, 1, 286, 1003, 1, 301, 1007, 1
    , 301, 1006, 10, 301, 1003, 1, 328, 1003, 1, 355, 1003, 1, 370, 1003, 1, 385, 10
    03, 1, 400, 1003, 1, 415, 1003, 1, 430, 1003, 1, 445, 1003, 1, 460, 1003, 1, 475
    , 1007, 1, 475, 1006, 6, 475, 1003, 1, 490, 1003, 1, 505, 1003, 1, 520, 1003, 1,
    535, 1003, 1, 550, 1003, 1, 565, 1007, 1, 565, 1006, 10, 565, 1003, 1, 592, 100
    3, 1, 619, 1003, 1, 634, 1003, 1, 649, 1003, 1, 664, 1003, 1, 679, 1003, 1, 694,
    1003, 1, 709, 1003, 1, 724, 1003, 1), SDO_ORDINATE_ARRAY(4, 0, -1, 4, 2, -1, 4,
    4, -1, 3, 4, -1, 2, 4, -1, 2, 7, -1, 1, 7, -1, 1, 6, -1, 1, 4, -1, 1, 3, -1, 0,
    3, -1, 0, 8, -1, 8, 8, -1, 8, 0, -1, 4, 0, -1, 4, 0, 1, 8, 0, 1, 8, 8, 1, 0, 8,
    1, 0, 3, 1, 1, 3, 1, 1, 4, 1, 1, 6, 1, 1, 7, 1, 2, 7, 1, 2, 4, 1, 3, 4, 1, 4, 4
    , 1, 4, 2, 1, 4, 0, 1, 4, 0, -1, 8, 0, -1, 8, 0, 1, 4, 0, 1, 4, 0, -1, 8, 0, -1,
    8, 8, -1, 8, 8, 1, 8, 0, 1, 8, 0, -1, 8, 8, -1, 0, 8, -1, 0, 8, 1, 8, 8, 1, 8,
    8, -1, 0, 8, -1, 0, 3, -1, 0, 3, 1, 0, 8, 1, 0, 8, -1, 0, 3, -1, 1, 3, -1, 1, 3,
    1, 0, 3, 1, 0, 3, -1, 1, 3, -1, 1, 4, -1, 1, 4, 1, 1, 3, 1, 1, 3, -1, 1, 4, -1,
    1, 6, -1, 1, 6, 1, 1, 4, 1, 1, 4, -1, 1, 6, -1, 1, 7, -1, 1, 7, 1, 1, 6, 1, 1,
    6, -1, 1, 7, -1, 2, 7, -1, 2, 7, 1, 1, 7, 1, 1, 7, -1, 2, 7, -1, 2, 4, -1, 2, 4,
    1, 2, 7, 1, 2, 7, -1, 2, 4, -1, 3, 4, -1, 3, 4, 1, 2, 4, 1, 2, 4, -1, 3, 4, -1,
    4, 4, -1, 4, 4, 1, 3, 4, 1, 3, 4, -1, 4, 4, -1, 4, 2, -1, 4, 2, 1, 4, 4, 1, 4,
    4, -1, 4, 2, -1, 4, 0, -1, 4, 0, 1, 4, 2, 1, 4, 2, -1, 0, 3, -1, 1, 3, -1, 1, 1,
    -1, 2, 1, -1, 3, 2, -1, 4, 2, -1, 4, 0, -1, 0, 0, -1, 0, 3, -1, 0, 3, 1, 0, 0,
    1, 4, 0, 1, 4, 2, 1, 3, 2, 1, 2, 1, 1, 1, 1, 1, 1, 3, 1, 0, 3, 1, 0, 3, -1, 0, 0
    , -1, 0, 0, 1, 0, 3, 1, 0, 3, -1, 0, 0, -1, 4, 0, -1, 4, 0, 1, 0, 0, 1, 0, 0, -1
    , 4, 0, -1, 4, 2, -1, 4, 2, 1, 4, 0, 1, 4, 0, -1, 4, 2, -1, 3, 2, -1, 3, 2, 1, 4
    , 2, 1, 4, 2, -1, 3, 2, -1, 2, 1, -1, 2, 1, 1, 3, 2, 1, 3, 2, -1, 2, 1, -1, 1, 1
    , -1, 1, 1, 1, 2, 1, 1, 2, 1, -1, 1, 1, -1, 1, 3, -1, 1, 3, 1, 1, 1, 1, 1, 1, -1
    , 1, 3, -1, 0, 3, -1, 0, 3, 1, 1, 3, 1, 1, 3, -1, 1, 6, -1, 2, 6, -1, 2, 4, -1,
    1, 4, -1, 1, 6, -1, 1, 6, 1, 1, 4, 1, 2, 4, 1, 2, 6, 1, 1, 6, 1, 1, 6, -1, 1, 4,
    -1, 1, 4, 1, 1, 6, 1, 1, 6, -1, 1, 4, -1, 2, 4, -1, 2, 4, 1, 1, 4, 1, 1, 4, -1,
    2, 4, -1, 2, 6, -1, 2, 6, 1, 2, 4, 1, 2, 4, -1, 2, 6, -1, 1, 6, -1, 1, 6, 1, 2,
    6, 1, 2, 6, -1, 1, 3, -1, 2, 3, -1, 2, 4, -1, 3, 4, -1, 3, 2, -1, 2, 1, -1, 2,
    2, -1, 1, 2, -1, 1, 3, -1, 1, 3, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 1, 3, 4, 1,
    2, 4, 1, 2, 3, 1, 1, 3, 1, 1, 3, -1, 1, 2, -1, 1, 2, 1, 1, 3, 1, 1, 3, -1, 1, 2
    , -1, 2, 2, -1, 2, 2, 1, 1, 2, 1, 1, 2, -1, 2, 2, -1, 2, 1, -1, 2, 1, 1, 2, 2, 1
    , 2, 2, -1, 2, 1, -1, 3, 2, -1, 3, 2, 1, 2, 1, 1, 2, 1, -1, 3, 2, -1, 3, 4, -1,
    3, 4, 1, 3, 2, 1, 3, 2, -1, 3, 4, -1, 2, 4, -1, 2, 4, 1, 3, 4, 1, 3, 4, -1, 2, 4
    , -1, 2, 3, -1, 2, 3, 1, 2, 4, 1, 2, 4, -1, 2, 3, -1, 1, 3, -1, 1, 3, 1, 2, 3, 1
    , 2, 3, -1))These are examples from Spatial User's Guide.
    ORA-54668 means that you need to update your srid to a 3D srid.
    Please check out Spatial User's Guide, Pro Oracle Spatial for 11g book and
    the following paper (which we can send you a copy offline)
    B. M. Kazar, R. Kothuri, P. v. Oosterom and S. Ravada, "On Valid and Invalid Three-
    Dimensional Geometries", 2nd International Workshop on 3D Geo-Information: Requirements, Acquisition,
    Modelling, Analysis, Visualisation, 12-14 December 2007, Delft, the Netherlands (Published as Chapter 2,
    pp. 19-46 in Advances in 3D Geoinformation Systems Series: Lecture Notes in Geoinformation and
    Cartography Oosterom, P.v.; Zlatanova, S.; Penninga, F.; Fendel, E. (Eds.) 2008, XX, 441 p. 235 illus.,
    Hardcover ISBN: 978-3-540-72134-5
    Maybe if you can post here an example geometry from your data,
    we can help you more.
    Hope these help.
    Thanks

  • Basic Spatial Query

    Hi guys,
    I am currently developing a java applet to display telecommunication sites taken from an Oracle 8.1.6 DB. The company I work for also happens to have the spatial cartridge which I intend to use to overlay a country map over my plottings. I have imported the map data into a table, and I can view the GEOLOC information as a huge stream of longs and lats via a simple SELECT query in SQLPLUS - so the data has been imported correctly.
    I have tried to digest huge articles on querying spatial information - however, unfortunately being an Oracle novice, it has left me quite dazzled.
    Basically all I want to do is take from my spatial table a list of long and lat coordinates (in double format) in a specific physical area, so that I can display them from there.
    I'd appreciate any help that anyone could give.
    null

    Hi David,
    There are a few things you will have to do in order to get this to work quickly.
    1) You will have to insert data into the user_sdo_geom_metadata field so Oracle Spatial can know some information about the data you've created (table name, spatial column name, information about upper and lower bounds as well as tolerance for each dimension.
    2) You'll need to create a spatial index on the data.
    3) You'll need to analyze the spatial index table.
    4) Then you can query the data. You'll have to decide whether you need exact answers (using the sdo_relate operator) or approximate answers based only on the index (sdo_filter operator).
    There is too much information required to put it all here, but I'll include a few samples.
    to insert data into user_sdo_geom_metadata:
    insert into user_sdo_geom_metadata values ('TABLE_NAME','GEOMETRY_COLUMN_NAME',
    mdsys.sdo_dim_array(mdsys.sdo_dim_element('X',-180.0,180,0.00000005),
    mdsys.sdo_dim_element('Y',-90,90,0.00000005)),NULL);
    commit;
    In the above example, TABLE_NAME is the name of the table with your geometry column, then the geometry column name, then the dimarray has attributes in it associated with each of two dimensions (two dimensional data is stored here), the first dimension has a lower bound of -180, and upper bound of 180, and a tolerance or 0.00000005 (the decimal precision of your data, with a 5 appended), the second dimension has the info supplied, and the last null means there is no coordinate system stored with the data. I'd suggest if you are a newbie to leave it as NULL, then ease into coordinate systems once you get more experience.
    2) create the index
    create index table_name_sidx
    on table_name(geometry_column_name)
    indextype is mdsys.spatial_index
    parameters('sdo_level=x');
    where x is usually a number between 6 and 14 based on the type of data you have. There is a lot to say about this, but I can't say it here.
    3) analyze the spatial index table:
    from sql*plus, run the following statements:
    set head off
    spool analyze_it.sql
    select ' analyze table ' &#0124; &#0124; sdo_index_table &#0124; &#0124; ' estimate statistics sample 32 percent;'
    from user_sdo_index_metadata order by sdo_index_table;
    spool off;
    @analyze_it.sql
    4) execute a query based on an area of interest:
    this statement will return all geometries that have any interaction with a query window specified by a rectangle with bounds
    2,2, 10,2, 10,10, 2,10, 2,2
    SELECT geometry_column_name
    FROM table_name
    where sdo_relate (geometry_column_name,
    mdsys.sdo_geometry(2003,NULL, NULL
    mdsys.sdo_elem_info_array(1,1003,1),
    mdsys.sdo_ordinate_array (2,2, 10,2, 10,10, 2,10, 2,2)),
    'mask=anyinteract querytype=window'
    = 'TRUE';
    You will have to dig more into each of these subject to understand them.
    Hope this helps,
    dan
    null

  • Can someone quickly spot the syntax error in this basic XML query?

    I'm very new to SQL/XML and I'm using this query in the basic HR schema provided by Oracle in the 10g Express Edition Database.
    I'm getting the "ORA-00907: missing right parenthesis" message when I run the following query, but the parenthesis all seem to match up:
    SELECT
    XMLELEMENT ("EMPLOYEES",
    XMLAGG(XMLELEMENT ("DEPARTMENTS",
    XMLELEMENT ("Department", department_name),
    (SELECT
    XMLELEMENT ("EMPLOYEE",
    XMLAGG(XMLELEMENT ("Empno", employee_id),
    XMLELEMENT ("Job", job_id),
    XMLELEMENT ("FirstName", first_name),
    XMLELEMENT ("LastName", last_name),
    XMLELEMENT ("Email", email),
    XMLELEMENT ("Phone", phone_number)))
    AS result
    FROM employees
    WHERE employees.department_id = departments.department_id)))
    AS result
    FROM departments)

    You do have the correct number of parenthesis, just the last one is in the wrong spot. Here is the corrected version. I moved the trailing ) to before "AS result"
    SELECT
    XMLELEMENT ("EMPLOYEES",
      XMLAGG(
        XMLELEMENT ("DEPARTMENTS",
          XMLELEMENT ("Department", department_name),
          (SELECT
             XMLELEMENT ("EMPLOYEE",
               XMLAGG(
                 XMLELEMENT ("Empno", employee_id),
                 XMLELEMENT ("Job", job_id),
                 XMLELEMENT ("FirstName", first_name),
                 XMLELEMENT ("LastName", last_name),
                 XMLELEMENT ("Email", email),
                 XMLELEMENT ("Phone", phone_number)
             ) AS result
             FROM employees
            WHERE employees.department_id = departments.department_id
    AS result
    FROM departmentsI don't have those tables installed but when I made a few tweaks and tried to run the above it encountered an error in regards to the inner XMLAGG. I tweaked your exampled and ended up with this. Feel free to change if not what you intended to produce.
    SELECT
    XMLELEMENT ("EMPLOYEES",
      XMLAGG(
        XMLELEMENT ("DEPARTMENTS",
          XMLELEMENT ("Department", department_name),
          (SELECT
             XMLAGG (
               XMLELEMENT("EMPLOYEE",
                 XMLFOREST (employee_id AS "Empno",
                            job_id AS "Job",
                            first_name AS "FirstName",
                            last_name AS "LastName",
                            email AS "Email",
                            phone_number AS "Phone"
             FROM employees
            WHERE employees.department_id = departments.department_id
    AS result
    FROM departments

  • Basic media query

    This is driving me to distraction, can anybody tell me why the extremely basic coding does not show correctly in the Multiscreen view for mobile.:
    The CSS:
    @charset "UTF-8";
    /* CSS Document */
    .container {
              width: 500px;
    .content {
              float: left;
              width: 235px;
              margin-top: 0px;
              margin-right: 15px;
              margin-bottom: 0px;
              margin-left: 0px;
              background-color: #900;
              height: 40px;
    @media only screen and (max-device-width: 320px) {
              .container {width: auto;}
              .content {
                        float:none;
                        margin: 0;
                        width: auto;
    and the html:
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Untitled Document</title>
    <link href="basic_mobile.css" rel="stylesheet" type="text/css" media="screen">
    <body>
    <div class="container">
    <div class="content"></div>
    <div class="content"></div>
    </div>
    </body>
    </html>
    Despite the media screen query canceling the Float it refuses to sit on on top of the other in the browser.
    Apologies for the basic nature of this but it is a sticking point.
    Ian

    Hi
    Not certain what you mean when you say,"shouldn't the two divs still stop floating though in the smaller browser window?", as the position of the divs are on the left by default in a browser, so they may give the impression of floating left, (try float right).
    Insert some text into the content div.
    PZ

  • 5D Workflow Query

    I'm trying to work out the best workflow that will allow me to import 1080P H.264 QTs shot on 5D mkII, carry out my VFX work then export the finished 1080P shots with the least amount of compression ready to conform with non VFX & online. The animation or uncompressed YUV codecs would presumably have the least or no compression but they seems to produce a large file size that is clearly unnecessary when compared to the file size of the source QT. I'm concerned however that if I use the H.264 codec even with a sufficient data rate that I could still introduce compression artefacts into my shots. I don't necessarily want to open a can or worms with codecs etc but am just looking for some advice on codecs/workflows that are working for people right now who are in the same boat.
    Thanks!

    Hi Dave,
    Thanks for your response, I edit with Avid MC6, then once my frame ranges are confirmed I import the appropriate source QT that was shot on the 5D mkii into AE & trim my work area to the required frame range. I carry out any number & variety of VFX tasks but the actual processing speed of the application is not a major worry for me. It's when I then come to export the finished product that I am unsure about.
    When you say "you may be better served by getting out of H.264 as soon a possible" I had been given some advice about creating image sequences (.exr or .dpx) from the H.264 QTs & then to use them to work with in AE to avoid further compression but I didn't really understand that at the time. So in layman's terms it sounds like AE can struggle when working with footage compressed with codecs syuch as H.264 & if the footage is converted & then imported as an image sequence instead these compression issues are irradicated as in theory there is no longer any codec in the workflow at this point, correct?
    When it comes to exporting the finished shot then, to avoid an unwanted compression am I restricted to using codecs such as animation or uncompressed YUV or is there someway that I can somehow I can use a codec to try & match the true data rate of the information contained in the shot? Or once the original H.264 QT has been converted to the image sequence have I in effect reset the compression status of the shot with any previous compression artefacts now basically burnt in to the image?
    These may well be basic compression questions but it's only recently that I have been required to produce shots that are to be used to online with, I've been more in the offline relm so these issues aren't as critical.
    I hope I'm making sense with this.
    Thanks
    James

  • Basic AD query

    Hi,
    I'm looking into using Power Query so that I can get up-to-date Active Directory information about our users. I want to be able to extract basic data like names, email addresses, department etc. When I query the user table in Power Query it returns the display
    names of all the users but no other useful columns (it shows things like securityPrinciple and posixAccount though). Is there some simple way I can use Power Query to combine data from multiple AD tables to provide a cohesive view of all our user data?
    I don't know the names of all the fields I want, so I'd rather just extract all the data and figure it out from there.
    Thanks in advance for anyone that can offer any help.

    When you connect to the user table, as you noted, there's a column of displayName and then a bunch of other columns. Are you familiar with the expand button? Most of the other columns in this table are links to other related tables so those columns have
    a little button to the right of the column name that looks like two arrows pointed left and right. Click that and then it will let you choose which of the embedded/related columns that you want to add to your table. I expect that the user, organizationalPerson,
    and person columns probably contain most of the data you want. But if you want to blow out every single column and then go from there (not good for performance but maybe easier to dig through) then just go to each column and click those expand buttons. You
    should end up with a huge table of data for each user.
    This is one of my favorite features in Power Query. It's a great way to dig through a data schema that you're not quite familiar with and pull in related information without worrying about joins and merges.

  • Basic question - querying xmltype column

    Hi,
    Sorry for the basic question but please could someone paste in a working 'select where' statement which will pick out only those rows containing an element with specified content.
    For example, how would I return n complete XML documents as query results for a situation where 'element_1' has text content 'apples'?
    This does not seem to work:
    SELECT x.xml_body.extract('/root_element/element_1/text()').getStringVal()
    FROM xmltable x
    WHERE x.xml_body.extract('/root_element/element_1/text()').getStringVal()='apples'

    Hi Paul,
    The query you have given works. I tried that query in the following format and it works.
    Query 1:
    SELECT x.xmlcol.extract(/Employee/Name/text()').getStringVal()
    FROM table_name x
    WHERE x.xmlcol.extract('/Employee/Name/text()').getStringVal()='Anu'
    Query 2:
    SELECT extractvalue(x.xmlcol,'//Name/text()')
    FROM table_name x
    WHERE extractvalue(x.xmlcol,'//Name/text()')='Srini'
    Both the queries work. The xml is of the following format
    <Employee company="Oracle">
    <Name>Anu</Name>
    <Department>OTN</Department>
    <Location>India</Location>
    </Employee>
    Can you please tell the database version on which you are working?
    For more information on XMLType you can refer the XMLDB Samples located at
    http://otn.oracle.com/sample_code/tech/xml/xmldb/content.html
    You can also refer to the XMLType Sample present at this location
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/9i_jdbc/content.html#xmltype
    to know how to work with XMLType columns.
    You can get back to us if you have any more doubts.
    Regards,
    Anupama Majety

  • Basic select query with round

    Hello everyone,
    I am very new to Oracle. I have a query that i use for getting table space statistics;
    Here is my query;
    "select * from dba_tablespace_usage_metrics"
    This returns me the data that i want it.
    like;
    TABLESPACE_NAME USED_SPACE TABLESPACE_SIZE USED_PERCENT
    PRRFK 52543200 57647104 91.14629591800483160437686514
    How can edit my query to show me the USED_PERCENT in 4 digit rather than long digits
    such as 91.14
    Any input greatly appreciated.
    Thank you.

    yes that what i am looking for but could not figure out where to put in the query.
    can you please put in the full query?
    Here is my actual query;
    select * from dba_tablespace_usage_metrics
    Thank you.

  • Workflow query

    I have a requirement where in on creating a condition type in ME11, based on condition types a workflow needs to be triggered.
    Each condition type will be entered by different users and the approvers will also be different.  The other thing is user can also enter condition type using ME12, MEK1, MEK2 for a new inforrecord request.
    For a change request, he can enter the condition types through ME12, MEK1, MEK2.
    User can at any point of time recall and re-submit or give up the request. If he gives up, the wrokflow should get terminated.
    I wanted to know how this can be achieved. 
    I was thinking of lines where in
    1) Events CREATE and CHANGE to be created for a custom BOR since standard BOR does not exists.
    2) Have enhance,enhancement spots/user exits in ME11/ME12/MEK1/MEK2 to trigger respective events if i cannot capture standard CREATE or CHANGE events.
    Appreciate your inputs.
    Regards
    PN

    Thanks,
    So u are saying instead of an event, use FM to trigger the workflow.
    There is a case when the workflow is triggered, two work items should come to initiator inbox, which allow him to either resubmit the same again, or recall the entire workflow.
    I have also a case where in on rejection by approver, the workitem will come back to the initiator to change and resubmit or he can terminate.
    Since i am using ZME11/ZME12 to trigger the workflow, i needed to know for the "revise and resubmit" workitem which comes back to initiator incase approver rejects, can i call the same transaction"ZMe12" on click on the revise workitem, so that the initaitor can see the details , change and resubmit in the same workflow.?
    in terminate case, i presume, i will need to trigger the terminating event on the button.
    Also any idea how i can maitain SWFVISU, in SAP 4.6c 6.20 since it doesnt have that transaction.
    Appreciate your help.
    Regards
    PN
    Edited by: Portal Newbie on Oct 5, 2008 10:27 AM

Maybe you are looking for

  • Add Calender items to a grid! Desperately need Help!

    Can someone tell me how to display the variables hours, mins, and secs on my grid Layout! Cheers in advance! import java.io.*; import java.awt.*; import java.awt.event.*; import java.util.*; class Grid extends Frame {   static PrintWriter screen = ne

  • Disc stuck in disc drive but computer doesn't detect disc

    I put it in and it's stuck, and I tried a bunch of methods, but the computer doesn't detect the disc and I can't get it out. Help please!!!!

  • Using After Effects like lightroom

    Hi all. I have searched and found similar questions to mine, but never the answer. So I wondered if a kind person here might be able to help me. I have video footage and if I were to extract a frame using AE and put it into lightroom, I can make a lo

  • Aperture 3 import of iPhoto 5 library

    Is it possible to import an iPhoto 5 library into Aperture 3? When I do a file > import > iPhoto library it correctly brings up the file browser pointing to the location of my iPhoto 5 library. However the import button is disabled - so the only opti

  • Apple tv 2 wake Mac from sleep

    Does iTunes need to be running in background when putting mac to sleep. My apple TV2 will not wake my mac (on ethernet through TC) unless iTunes is running or minimized in background. Is this normal or can iTunes be exited completely before sleeping