Skip to Content
avatar image
Former Member

HCI Filter - Include a Date variable in the XPATH expression

Hi

In an HCI interface I want to create a filter that filters elements by last_modified_on. So I need to declare a date variable for the date/time the interface was last run and include that variable in the XPATH expression in the filter. Can anyone give me some pointers or examples?

Thanks

Jonathan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 26, 2017 at 02:52 PM

    Hello Jonathan,

    As per my understanding from Content Filter perspective its not possible to use Properties,Headers or Variables[ Write Variable ].

    In case you want use any of these you must create XML and assign its value to XML node and use it further in the Content Filter.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16 at 03:52 AM

    Hello Sriprasad Shivaram Bhat,

    Let's say below is my input, how can I use the create_date as a filter value?

    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <order>
    <id>123</id>
    <create_date>20180101120000</create_date>
    </order>
    </root>

    Regards,

    Jeremy

    Add comment
    10|10000 characters needed characters exceeded