How can we logout from EWM using java code
We have a scheduler that runs every 15mins, and everytime when it fetch certain value from ewm workitem.
It is taking from cached value but not the current value in EWM workitem. So we want to try logging out from EWM after the scheduler run completes. So is there any way we can logout from ALM programmatically using Java.
2 answers
The question leaves the important information out: which API do you use.
It also is likely asking the wrong question.
It also is likely asking the wrong question.
- If you use the Plain Java Client Libraries/SDK,
- There is a logout that is shown in the snippets that come with the Plain Java client libraries.
- There is no need to log out. You can use the caching mode to resolve/refresh/reload the item.
Other APIs might provide different answers, so consider putting more effort into your question, if you are interested in an answer.