Highlighted
Knowledge Partner
Knowledge Partner
86 views

SoapUI getProcessesByQueryRequest

Jump to solution

I'm doing some database spelunking with SoapUI here and so far have not figured out what the correct use of the Creation Time in the query looks like. As an example, I want to find all running workflows created this year. Creation Time says it takes a "long", so I guessed on it being CTIME.

 

      <ser:getProcessesByQueryRequest>
         <ser:ProcessInfoQuery logic="AND" order="REQUEST_ID">
            <!--You have a CHOICE of the next 11 items at this level-->
            <!-- Old creation times -->
            <ser:creationTime>
               <!-- January 1, 2019 12:00:00 AM -->
               <ser:value>1546300800</ser:value>
               <ser:operator>GT</ser:operator>
            </ser:creationTime>
            <!-- Numeric 0 is RUNNING -->
            <ser:processStatus>0</ser:processStatus>
         </ser:ProcessInfoQuery>
         <!-- Number of records to return. -1 is ALL -->
         <ser:arg1>-1</ser:arg1>
      </ser:getProcessesByQueryRequest>

 

This retrieves lots of workflows, some with creation dates in 2019, some with creation dates in 2015, 2017, 2018.

If I switch the compare to "LT", then I get nothing back.

So if it's not a CTIME, what is it?

 

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Knowledge Partner
Knowledge Partner

Re: SoapUI getProcessesByQueryRequest

Jump to solution

Got it. The times are in milliseconds.

               <!-- January 1, 2019 12:00:00 AM -->
               <ser:value>1546300800000</ser:value>

 I'm sure that this choice makes sense to somebody.

0 Likes
1 Reply
Knowledge Partner
Knowledge Partner

Re: SoapUI getProcessesByQueryRequest

Jump to solution

Got it. The times are in milliseconds.

               <!-- January 1, 2019 12:00:00 AM -->
               <ser:value>1546300800000</ser:value>

 I'm sure that this choice makes sense to somebody.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.