How to check the number of "empty" field

Hello world

I describe the situation as a first step:

  • I work with WCC 11.1.1.5
  • I have workflows 5 steps.
  • Users can change the values of the attributes of document at each stage.
  • I managed the attribute is required in each step by rules. The attributes are not defined as ' required value: required ' by attribute definition. It is done by the definition of the rule.


What I do:

Check that one attribute (called xInv_SAP_document_line) has been filled in by the user in the third step of the workflow. This attribute is of type 'Integer '.


What is my problem:

Whenever the system performs the update of sending it automatically fills the number 0 for all integer attributes.

When the user fills out a "xDepartment" attribute in the first stage, the system to insert a value of 0 for the attribute 'xInv_SAP_document_line '.

I'm not able to verify if the user filled in the "xInv_SAP_document_line" attribute in the third step, because the value 0 is already there from the first step. It has no effect if the attribute is 'Required' - it has value = it's OK. But I need a control that the user fills out. Not the system.


What I tried:

'Use the default' check the box help doesn´t rule field. It only works for empty values.

I can change the value of "derived field" checkbox in the second stage. But I'm not able to erase the value - what is the behavior I need.


Is it possible to remedy this situation?


Thanks for any advice,

Mike




Integer fields, once submitted, will be filled with 0 when the element is submitted and the field is empty.  It's the way integer fields work in Content Server - I've not seen a way to change this behavior.

If 0 is never going to be a valid value, in the article "side effects" of the rule, add the following code and see if it solves your problem.

<$if #active.xinv_sap_document_line="=" 0$="">

<$dpPromote("xInv_SAP_document_line","")$>

<$endif$>

Tags: Fusion Middleware

Similar Questions

  • How to check the number of colors in the file?

    How to check the number of colors in the AI file?

    :-)

    Redefine the tool will list all the colors used in a document and the context menu in the swatches Panel also provides tools for color management.

    Mylenium

  • How to check the number of items available in RT FIFO?

    Hello

    Is there a way to check the number of items in RT FIFO without using READ FIFO function? I'm looking for a function like the function of status get queue VI.

    Thank you very much!

    Kind regards

    Tom

    See this KB article

    http://digital.NI.com/public.nsf/allkb/42E85A333767918B862570D800667FD8?OpenDocument

  • How to check the number of servers, a unique summer migrated database?

    Is it possible to check the information of the previous server where the database has been migrated.

    Ajay Vijayan wrote:

    The binaries have been transferred from the old server and grid has been installed in the new ASM migration server.

    Alert log is purged according to police.

    Ajay

    1. logically, it can not be followed from the point of view of database. Since when we migrated to new server we can just copy the data files and take the help of rman and migrate (hope you are aware)

    2. If we are not reset all the newspapers during the process, if we do it due to a problem we knew that the level of incarnation (date/time)

    3 database does not take care of these information

    4. perhaps there is an alternative, you can get it from 'DBA_HIST_DATABASE_INSTANCE '.

    that keeps INSTANCE_NAME and HOST_NAME... .When you database runs from host A for 6 months and then you moved to server 'B '.

    5 to start and next stop he will track this new server (provided during migration if you have made a rebound at this time, then you can have alteast moving day)

    6. IF you are looking for server then in the course of the interview you can bounce while patching so separate hostname is able to follow

    -Note - rest depends on the number of records that he takes for his life

    It may be useful

    -Pavan Kumar N

  • How to check the number of databases, I have

    How to check how much data I have on my each server with address name and path of the House without using OEM? also need to check how much is on the rise and how much is down?

    Kind regards
    Niraj

    Windows
    =======
    Check the name of the Windows Service.

    on the start menu, you can find run ---> type services.msc

    It will be something like:

    OracleServiceDB10G

    OracleServiceORCL

  • How to check the number of lines inserted since the week last in the table

    Hello

    Oracle version: 11g

    OS: Linux

    We need to know the number of rows inserted for a table of 7 days, please can anyone suggest is all views to find that answer

    BR

    PMP

    The function dbms_stats.diff_table_stats_in_history should give you what you need, assuming you analyze the table regularly.

  • How to handle the NULL or empty fields XML

    I'm parsing an xml file and transform it into a query object. All good until I get a NULL value or misssing in my XML file and then I begin to receive some error messages like

    The value "cannot be converted to number.

    So, how can I check these missing values or NULL in the XML and then put them to a lack of value, so they keep appearing as "?

    Here is my code: it runs great until I hit a missing value

    < cfset mydoc = XmlParse (myxml) >

    <!--get an array of employees-->

    < cfset emp = mydoc. SET OF LINES. XmlChildren >

    < cfset size = ArrayLen (emp) >

    < cfset orderquery = QueryNew ("FIRST_NAME, LAST_NAME, numero_fichier, JOB_TITLE_DESCRIPTION") >

    < cfset temp = QueryAddRow (orderquery, #size #) >

    < cfloop index 'i' = from = "1" = "#size #" >

    < cfset temp = QuerySetCell (orderquery, "First name",

    #mydoc.rowset.ROW [i]. FIRST_NAME. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, 'Name',

    #mydoc.rowset.ROW [i]. LAST_NAME. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, "Numéro_fichier",

    #mydoc.rowset.ROW [i]. FILE_NUMBER. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, "JOB_TITLE_DESCRIPTION",

    #mydoc.rowset.ROW [i]. JOB_TITLE_DESCRIPTION. XmlText #, #i #) >

    < / cfloop >

    Which column throws the error?  Given that you do not specify the data types in your QueryNew call, I guess that's FILE_NUMBER.  In this case if the first sign up process has a number of this column, then CF will implicitly define this column to be digital.  If that is your intention, very well.  Otherwise, specify the types of data explicitly.

    If this column must be numeric, then you will need to perform a few checks before writing to the cell in the query.  Given that the statement of QueryAddRow() creates a bunch of empty rows with null values in all the columns, you just have to jump from writing to the cells that need to be set to null:

    Notice a few things that I spread the code:

    • No sign of #-you only need within blocks of at the exit of the variables on the screen.  They are almost never necessary in the function calls.
    • No "temp =" in the tag.  They aren't necessary if the operation right of the equal sign does not return a value, you need to store in a variable, as in this case.

    HTH,

    -Carl V.

  • How to increase the number of addresses in the BCC field?

    How to increase the number of addresses in the BCC of email field?

    What do you mean by increase in the number of addresses?  The CCC line will continue to accept addresses that you add them in there. Keep just by typing in the addresses separated by a semi colon ";

  • I need to know how to check the serial number of the product on the installed machine?

    I need to know how to check the serial number of the product on the installed machine?

    You can go to Adobe.com and connect to the Adobe ID used to register the program.

    The serial number would be listed under Manage account > Products & Plans

  • How can I check the number of pixels in my image of the camera? [was: Pixels]

    How can I check the number of pixels in my image of the camera?

    Open a file

    Select > all

    Choose the histogram and click in the upper right

    Choose expanded view

    The number of pixels note

  • How to control the number of fields in the Advanced mode in &lt; af:query &gt;

    Hello

    How to control the number of fields in the Advanced mode in < af:query >?

    Say I have 20 fields in my table, and I created a view of criteria with 2 fields. This would work perfectly in basic mode. But in Advanced mode , the choice of fields is possible by clicking on the Add fields button. I didn't have the customer to search with all 20 fields. Only 10 fields must be listed in the Advanced Mode, even if there are 20 fields in my table.

    How can I control the list of fields in ADDFields button?

    Any ideas?



    KR

    You can uncheck the contestable ownership of attributes that you must not appear in the Advanced Mode (but they will not appear in the other modes too!) or by programming the value the same as those mentioned here.

    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.html

    Also, you can hide the button AddFields as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How to check the amount/number of issued on the database DDL operations

    Hello

    Can someone please clear some doubts.

    1. How can we check the number of DDL operations on the database

    2. how we check the amount of growth in the size of the database.

    3. How can we check the growth of a single table.

    Concerning
    Amith

    Select startup_time "Startup."
    MySQL 'Transactions. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) "Avg per day."
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 24 ' Avg / hour. "
    /Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 1440 "Avg / min.
    v $ sysstat, instance $v
    WHERE name in (a "user is committed," restores user)
    Startup_time group;

  • How can I make the popup with empty fields and create new record?

    I would use a popup create new record.
    I created an af:popup drag and drop a data control VO in jsff. Then, I created a button and place an af:showPopupBehavior. I was able to pop-up window by clicking on the button.
    However, the window filled with information from the record 1. and when I select a record in the table and click on the popup, the popup is filled with this record.
    How can I make the popup with empty fields and create a new record by recording the popup?
    Thank you

    Hello

    You must call the CreateInsert for the underlying ViewObject operation when opening the popup because it does not allow to clear the input field, you must have a new record created

    Frank

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

Maybe you are looking for