on 2023 Feb 27 3:24 PM
Request clarification before answering.
you could use a dummy file for polling your scenario.
A mapping (graphical or Java) could provide the requested values.
An async - sync bridge can be used for dealing with the response of your scenario.
FILE -> REST -> result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexander,
unfortunatelly I can´t omit end and I also need change both according this prescription provided by servlet.
<Period>
<Type>HOURLY</Type>
<Interval>
<Begin>2023-03-02 10:00:00.0</Begin>
<End>2023-03-02 11:00:00.0</End>
</Interval>
</Period>
The goal is to pull every hour data from actuall day and previous hour.
I went through a lot of posts and did not find working answer (strange because I would say that it look like common problem).
Thanks for any hint
Pavel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavel,
I have setup a REST sender scenario using timestamp, see https://blogs.sap.com/2015/06/26/pi-rest-adapter-polling-a-rest-api/
However, I'm afraid you can only use one variable incrementalToken within your query, so your scenario with two timestamps for begin and end won't work unless you can omit end
Note also that you need to be careful with the polling capability, whenever you stop and start the channel or re-activate the channel the timestamp is reset to the initial value, so you need to maintain the initial value before activating again
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
21 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.