We want to implement a feedback feature in which the user can submit a feedback at any where. What we want to achieve is to attach the context (what is the current screen, which point in the process, etc) into the feedback.

I found out a way to (somehow) close to what we expect:

StringBuilder fullContextBuilder = new StringBuilder();
for (IIvyThreadLocal threadlocal : IvyThreadContext.getIvyThreadLocals()) {
    fullContextBuilder.append(threadlocal).append("\n");
}
Ivy.log().error(fullContextBuilder.toString());

However, the IIvyThreadLocal and IvyThreadContext are not @PublicAPI so we could not rely on them.

Is there a public API which can help me to obtain the context of the business process (something like what printed in the log file for an exception)?

UPDATE

(It seems I was still ambiguous about what the process context mean)

The process context here means what is the current dialog and the context when the feedback submittet. What is the route (dialogs to dialogs) that the user has accessed before submitting the feedback.

The idea is something similar to what is printed in the Ivy Server log file. I started to digg into the Logger and ExceptionUtil which I experimented as the snippet above.

Thanks & Regards

asked 02.03.2015 at 10:56

Genzer%20Hawker's gravatar image

Genzer Hawker
(suspended)
accept rate: 66%

edited 06.03.2015 at 03:08

can you specify more clearly what context informations you need? the main stuff should be available trough ivy.task/case

(05.03.2015 at 12:27) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×37
×37
×2

Asked: 02.03.2015 at 10:56

Seen: 1,861 times

Last updated: 06.03.2015 at 03:08