Due date the XPath BPM 12 c

Hi all

Requirement:

Set due date should she take the load of entry date and subtract a few days after the given date.

For this purpose in human Task in time-> requested Action before, I tried to give the date of duration by using expression as: xp20:subtract - dayTimeDuration-from-dateTime(/ns0:Date,'P2D') - xp20:current-dateTime() as we know that long is the difference of two dates.

But I got the following error:

< faultInfo > exception.code:30046

exception.type: ERROR

exception. Severity: 2

exception. Name: error in the routing slip.

exception. Description: the expiration specified in the routing slip could not be assessed. The error is java.lang.IllegalArgumentException: NaN. The routing slip is associated with the task definition test/DuedateExpression!1.0/Humantask.

exception. FIX: make sure that the time-out time is correct. The value must conform to the duration specification XML.

Then I tried to give the following expression:

xsd:DateTime(XP20:Subtract-dayTimeDuration-from-DateTime(/ns0:date,'P2D')) - xsd:dateTime (xp20:current - dateTime ()) - this phrase when it is used in XSL given duration.

When he is still used even in Xpath expression once was an error.

Then tried to add "xsd" namespace in the source code of human task for the routing slip that also work force.

In the Xpath expression builder, Date functions have only dateTime functions, but the result we want is a 'life '.

Thank you

Tilquin.

Hi Tilquin,

I think that you run the same question which exists in 11g when dealing with time-outs for human tasks.

You would think that do you might work to arrive at a period of time, but the format should be as XML to a period of time (for example, "P2DT12H8M").

Although there is an XPath expression that works for the timer limit event activity (select the option "Hours" of the timer event and add a logic similar to this: ' xp20:add - dayTimeDuration-to-dateTime (xp20:current - dateTime (), 'PT1M') "" "), this will not work for the deadline of the task of the human.

The only option you have is to put it in XML format for a time period when you enter a due date for a human task.  I wouldn't go with you if you said it should work, but you will not be able to subtract two date variables to the time period and you will not be able to use a data function XPath.  You simply must have a string as XML ("P2DT12H8M").

I've heard of people trying to create this string using XSLT, but the only way I've seen this done successfully is to create the string using Java.

Dan

Tags: Fusion Middleware

Similar Questions

  • How to map Due date from Jdev to show in the workspace of BPM

    Hello

    Requirement:

    Due date for human tasks (which are defined in jdev) should be visible in the workspace of BPM.

    I added due date BPM workspace under the process of follow-up and observed that the column does not reflect the due date column.

    I found in a blog that we can map variables required as flex fields to the systemManagedAttributes and then use them in the workspace of BPM.

    In our requirement, we date as an input variable, for due date if I use "service" and give 2 days then the expiry date will be the date "which we will give as input + 2 days". Therefore to map this due date to the systemManagedAttributes, which are the variables I have to map to reflect the expiration date in the workspace.

    Please suggest another way to reflect the expiration date of the human task in the BPM workspace.

    Thank you

    Tilquin.

    Hi Tilquin,

    I admire your innovative solution using flex fields, but there is a simpler way to show time in the list of tasks in the workspace.

    You can simply add the column 'Expires' in the workspace for your Inbox.  In this way it will automatically show deadline your human of the task in the Expires column and you can avoid the path of the flex field.

    Dan

  • I have CS5 on Windows desktop 8.1 which I'm unable to update due to the repeated download error (no error number). I uninstalled and reinstalled CS5 but the same error occurs. I have same CS5 on Windows 7 laptop which seems to be up-to-date. What's wrong

    Issue. I have CS5 on Windows desktop 8.1 which I'm unable to update due to the repeated download error (no error number). I uninstalled and reinstalled CS5 but the same error occurs. I have same CS5 on Windows 7 laptop which seems to be up-to-date. What is the problem please?

    Hi Peter,.

    Please see the updates

    Hope that helps!

    Kind regards

    Sheena

  • Change the XPath expression in the data

    Hello

    We have about 2000 variables that are mapped on the underside of XPATH. Now there is a change in the XPATH expression, and new nodes are introduced now.

    ! Request/XmlTransaction/Quote/Product/Form/FormMetaData/NonParseData/FormVariableData

    ! Request/XmlTransaction/Quote/Product * / rental/Section / * Form, FormMetaData, NonParseData, FormVariableData

    Is there a way where I can change all of these XPATH using the wizard of Documaker Studio. We tried to export files FAP and did a find and replace in all files in Notepad and then imported again but the Studio does not show them correctly.

    Before exporting data mask

    VARIABLE 1
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/FIRST_LIMIT_LIABILITY

    VARIABLE 2

    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/DATE_1_O

    VARIABLE 3

    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/EXCESS_LIMIT_LIABILITY

    4 VARIABLE
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/DATE_2_O


    After the export in the Studio

    VARIABLE 1
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/FIRST

    VARIABLE 2
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData

    VARIABLE 3
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData/QE5837/EXCESS

    4 VARIABLE
    ! Request/XmlTransaction/Quote/Product/rental/Section/Form [FormId = QE5837] / FormMetaData/NonParseData/FormVariableData

    We could see that search data is truncated during import. We use Studio 12.1 on Windows Server and our resources are stored in the UDB database in Solaris.

    Thanks in advance.

    Hi Pierre,.

    It is not a section of editting good idea in Notepad. If you want to change XPATH in this mode, in addition to the action 'replace', you'll need to find the length of the XPATH expression, you will replace. This information you will also need to be updated accordingly to the line in which your XPATH is replaced. Otherwise when you check the FAP to library, Studio will read only up to the length of previous XPATH.

    for example: length of the underside of XPATH is 106
    ! Request/XmlTransaction/Quote/Product * / rental/Section / * Form, FormMetaData, NonParseData, FormVariableData

    Hope you consider XDD concept in such scenarios.

    Thank you
    Caty chirani

  • Task due date established by default depends on the Type drop-down list

    Hi all, I would like to implement the task of today + 2 days due date IF the drop-down list type is a known value AND if the deadline is today.

    I have thin, this is the real configuration: IIf (IIf ([< Type >] = "To Do", 1, 0) = 1 AND [< DueDate >] = today(), [< DueDate >] + 2 [< DueDate >])
    But it does not work, why? :(

    The default value 'post' is taken in, no syntax errors.

    Published by: bandikaa on 2011.06.14. 01:32

    Hello

    I don't think that default post won't work here. You can use the workflow to update expiration date field if the type is known.
    Create a workflow wiith the following criteria
    Registration type: activity
    Active: Y
    Triggering event: when the new record
    Workflow rule condition: [] = "To Do" AND [] = today()

    Workflow actions
    Action1
    Wait
    Active: Y
    Reassess the rule Conditions after waiting: Y
    Duration: 0 minutes
    Action2
    Update field after the Action of waiting
    Active: Y
    Field name: Due Date
    Value: Today () + 2
    Replace the existing values: Y

    It may be useful

    Thank you & best regards
    Sablok

  • Problem in the evaluation of the XPath in xml using java.

    Hello

    I wrote a method to evaluate the xpath expression and returns the result in the string 'true' or 'false' or 'anyValue as in the xpath expression.

    for example:

    < k >
    < g > 1 / < g >
    < c >! / < c >
    < /k >
    < k >
    < g > 2 / < g >
    < c > # </c >
    < /k >

    < k >
    $ < c >/< c >
    < /k >

    If the xpath expression is /k [g / text () = '1'] / c/text () = "#"-the code returns false

    Similarly /k [g / text () = '1'] / c/text () ='! ' - returns true

    But in the flow of my project, we have removed the xml node that contains no data. Thus, the last < k > tag is not have < g >. then, East - wat I think

    If the xpath expression is /k [g / text () = "] / c / text () = ' $' should return true. but since there is no < g > tag, it returns false. But, by the logic of my project, g is there, but the bcz removed its null...

    Pls help me with this...

    Thank you
    Sabarisri. N

    Edited by: Sabarisri N November 11, 2011 16:33

    Edited by: Sabarisri N November 11, 2011 16:35

    The criteria for the return of true or false is not clear as the three bodies that are specific. To take account of these three cases, the xpath expression can be very restrictive in look like that. By way of illustration, I put it in a knot xsl or xsl: When, use tests, assuming the context node to be the parent of the node k.

    
    

    Because the conditions are specific, it seems inevitably awkward due to the need of the enumeration of the case-by-case basis.

  • Calibration due Date

    In MAX, there is a field for 'Calibration due Date', but 'Get calibration Information.vi' in the library of VirtualBench isn't an exit for him.  This value is available by adding the date of calibration and the interval?

    Of the API VirtualBench, Yes, you must build the next date of calibration recommended since the last date of calibration and calibration interval.

    You can also get recommendations next calibration date using the API of the System Configuration. There is an example that illustrates this in Finder example: material input and output-> system-> Calibration Audit.vi Configuration

  • Filter for table data, the range of data obtained and defined 2D

    I produce data of an ultrasonic sensor at 1 K Hz, and there is a lot of data (data points range of 0 to 10). However, in some cases when I know that the data should be about 7 (for example) I get outliers (about 9 and 10). Is it possible to define a filter for data in the defined range.

    I averaged the data to get an average value, and outliers are distorting. In the worst case, my outliers are 30 to 40% of the data generated. I created a filter to sort the data and, taken from the lowest value. I stop the loop when data reaches a value greater then 9. But this seems to take a long time (because the loop checks for each data point and there are 1000s of them).

    Is there a better way to filter data and define a predefined table range to collect?

    I enclose my filter.vi... and a set of samples of my previous data. The ranges of data of 10-8 and would like to have the range 7.5 to 8.5 to consider. The sensor records tension here and the problem can be solved by installing a different type of sensor, but if a filter in LabView can due it, the sensor that we use now is absolute.

    I am in kind of emergency, my design in unfinished because of this problem, if someone can find some time to share some suggestions, I will be grateful.

    Thanks in advance.

    See attachment.  I have incorporated the data you've posted in the vi.  It doesn't seem like any data were less than 8.7 or so, so I modified the scope so it would be a few points on average.  Some games were completely out of reach while the average came back like NaN (not a number) due to a division by zero.

  • The game I play is Combat arms, I gave it through the firewall but I still have to allow him, and in the end, the combat arms stops responding and closes due to the DEP. I have it enabled on DEP. Please help me.

    The game I play is Combat arms, I gave it through the firewall but I still have to allow him, and in the end, the combat arms stops responding and closes due to the DEP (Data Execution Prevention). I leave on the DEP list. Please help me.

    Hi Brainiac107,

    1 when was the last time it was working fine?

    2. did you of recent changes on the computer?

    Method 1

    Check and make sure that you have followed the method to allow the game through the protection of execution of data (DEP) below.

    "" "" "a) departure ' Run ' sysdm.cpl ' click 'Advance' tab" now click on 'Settings' running ' then click on the "Data Execution Prevention" tab

    (b) now click on the "turn on DEP for all programs and Services except those I select:

    (c) then click add and go to and select C:\Nexon\Combat Arms\engine.exe

    (d) now, click Ok then apply.

    (e) restart the computer.

    Change Data Execution Prevention settings

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-data-execution-prevention-settings

    Change Data Execution Prevention settings

    http://Windows.Microsoft.com/en-us/Windows7/change-data-execution-prevention-settings

    Method 2

    If the previous step fails, then try to run the game with administrator privileges and check if it works.

    (a) right to the shortcut from the game or if you try to install the game, right click on the game setup.

    (b) click on run as administrator.

    Method 3

    If you're still having problems with the game then post your request in the forums of game seller.

    http://Forum.NEXON.NET/CombatArms/forums/8624/ShowForum.aspx?PageIndex=2&SB=0&d=1&DF=11

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • After a virus, I am unable to connect to the internet. Event log messages: the NetBios over TCP/IP service failed to start due to the following error...

    original title: NETBios TCPIP of missing in Device Manager

    I recently had to run two antivirus programs on an infected computer and am now unable to connect to the internet. When I went to the event viewer, I noticed the following error messages:

    Event type: error

    Event source: Service Control Manager

    Event category: no

    Event ID: 7000

    Date: 16/01/2012

    Time: 12:31:17

    User:                       N/A

    Computer: JARRIOUSSTUDIO

    Description:

    The NetBios over TCP/IP service failed to start due to the following error:

    The service cannot be started, either because it is disabled or because it has no enabled devices is associated to him.

    Event type: error

    Event source: Service Control Manager

    Event category: no

    Event ID: 7001

    Date: 16/01/2012

    Time: 12:31:17

    User:                       N/A

    Computer: JARRIOUSSTUDIO

    Description:

    The DHCP Client service depends on the NetBios over TCP/IP service which failed to start because of the following error:

    The service cannot be started, either because it is disabled or because it has no enabled devices is associated to him.

    Event type: error

    Event source: Service Control Manager

    Event category: no

    Event ID: 7001

    Date: 16/01/2012

    Time: 13:32:01

    User:                       N/A

    Computer: JARRIOUSSTUDIO

    Description:

    The DHCP Client service depends on the NetBios over TCP/IP service which failed to start because of the following error:

    A device attached to the system does not work.

    Event type: error

    Event source: Service Control Manager

    Event category: no

    Event ID: 7001

    Date: 16/01/2012

    Time: 13:32:01

    User:                       N/A

    Computer: JARRIOUSSTUDIO

    Description:

    The helpdesk TCP/IP NetBIOS depends on the NetBios over TCP/IP service which failed to start because of the following error:

    A device attached to the system does not work.

    When I look in the Drivers folder, I see netbt, but devices & Non Plug and Play Devices, of TCPIP NETBios is not listed in Manager.

    Hi Diddy Dell,

    Follow these methods.

    Method 1: Performs a search using the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode with network and check if the problem persists.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    Step 2: If the problem does not persist in SafeMode with network, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: Follow the steps in the article.

    How to reset the Protocol Internet (TCP/IP)

    http://support.Microsoft.com/kb/299357

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

  • I get an error saying "the BCM42RLY service failed to start due to the following error: the system cannot find the file specified. '.

    Log name: System
    Source: Service Control Manager
    Date: 17/07/2011-21:12:53
    Event ID: 7000
    Task category: no
    Level: error
    Keywords: Classic
    User: n/a
    Computer: ivan-PC
    Description:
    The BCM42RLY service failed to start due to the following error:
    The system cannot find the specified file.
    The event XML:
     
       
        7000
        0
        2
        0
        0
        0 x 80000000000000
       
        203523
       
       
        System
        Ivan-PC
       
     
     
        BCM42RLY
        %%d Ko
     
    original title: can someone please help...

    Hello

    1. you are using a Dell computer?
    2. What is the model number of your computer?
    3. don't you make changes to your computer before the problem?

    BCM42RLY is a broadcom driver. I suggest that you uninstall and reinstall the drivers.

  • Remote Desktop - due to the protocol error detected at the client level (code 0 x 1104), this session will be disconnected

    Original title: Remote Desktop

    I get strange messages when trying to do Remote Desktop (and also connect using Logmein). Sometiems I get this:

    Due to the protocol error detected at the client level (code 0 x 1104), this session will be disconnected.
    Try to reconnect to the remote computer.

    Sometimes:

    Due to an error in data encryption, this session will end.
    Try to reconnect to the remote computer.

    For Logmein, I just get a mismatch. I'm running Windows 7 Pro sp1

    Can someone help here?

    Hi Peter,.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    Windows 7 IT Pro category

  • Save the 0x8078002A error code. The request could not be performed due to the i/o device error (0x8007045D).

    I tried to backup my C folder on a hard disk extrenal and received the following message:


    OT: Backup failed Windows7 0x8078002A error Code.
    Quote
    One of the files of backup could not be created (0x8078002A). The request could not be performed due to the i/o device error (0x8007045D).
    End of quote
    Can someone advise me?
    Nitin

    Hello

    Method 1
    Check the shadow copy Volume service in the services window. Use the following steps to check:

    a. Click Start and type services.msc in the search box

    b. Locate the Volume Shadow Copy service

    Make sure that the startup type is automatic. Steps to set the auto services

    a. Locate the service

    b. right-click on the service

    c. If the service is stopped and then starts the service

    d. Select Properties

    e. and in startup type, select automatic

    Method 2
    Try the steps listed in the link below: error message when you try to perform a full backup on a Windows Vista-based computer: "the request cannot be performed because of an i/o device error":http://support.microsoft.com/kb/952272 (for Windows 7)

    Note: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

  • BlackBerry smartphone synchronization of tasks with Outlook - due Date conflict

    When I sync my tasks with Outlook (BB 9810 Desktop 7.0) and I get conflicts on my due Date.

    I think it's because my BB has Date + time, but Outlook has only the Date.

    What can I do to fix this?

    Thanks in advance...

    I realize now that my conflicts were due to my misunderstanding of the conflict resolution popup.

    Each entry in the online list of conflicts can be dealt with separately. (Duh)

    Sorry for the false alarm.

  • How is due date calculated in Oracle accounts payable

    Hello

    On what basis is calculated to the due date of an invoice.

    Say that payment terms are 10 days.

    That only takes into account the days or weekends and holidays as well.

    The due date is calculated on the basis of the date of invoice or the date of receipt?

    Kind regards

    Amanda

    Hello

    Please see the following content.

    Of the APLIST, the calculated due Date is correct. The invoice was created the

    May 17, 2010 and received was created on May 20, 2010. Later, when the Bill was

    validated, the system has recalculated the payment as plans ' recalculate payment

    Schedules has been activated.  The system has generated the due date as June 19, 2010, for a term of

    -Net30.

    Here's how the calculation of the due date:

    ---------------------------------------------------------------

    --> In general, Due date get calculated based on the most recent available departure dates. Date the most recent available beginning is derived according to the following formula.

    Greatest (Goods_Received_Date + Receipt_Acceptance_Days, Invoice_Date, Terms_Date).

    -> In the algorithm above, Goods_Received_Date is a date which is filled on the invoice based on terms_date_basis to the provider/site level.

    a. If terms_date_basis = "Goods received" so Goods_Received_Date get filled.

    (b) if terms_date_basis = "Invoice received" or anything else then, Goods_Received_Date is null.

    -> Receipt_Acceptance_Days is the number of days defined for "Receiving acceptance days" the tab invoice Options in Payables.

    -> So, the due date is the most recent DATE of INVOICE, DATE CONDITIONS, GOODS RECEIVED ACCEPTANCE DATE + RECEPTION DAYS.

    -> In the case of a corresponding invoice, the system takes into account the date of the Transaction of reception of the

    Reception for the calculation of a recent start date, because sometimes the DATE OF RECEIPT of GOODS is zero.  This feature is available from the beginning only 11i. See bug #1655225 for more details.

    a.So first system determines the recent date of GOODS RECEIVED DATE + RECEPTION ACCEPTANCE DAYS and TRANSACTION DATE of RECEIPT.

    b.After that checks most recent date from the defined formula again.

    -----------------------------------------------------------------------------

    If the customer does not want the system to use "Date of receipt" and then disable "recalculate the payment plans.

    If the customer wishes a new calculation, the system considers "Date of receipt" to a corresponding invoice.

    Concerning
    Gavin.

Maybe you are looking for