How can I set the creation date of an IVY Task? We are using Ivy system tasks to log some external activities. After such an external activity has been done, the external system calls IVY. IVY creates a system task so we have a perfect case history including all tasks which have been done.

Right now, the system task has as creation/start-date the current timestamp. How can we set this date to another date (which is may in the past).

Thanks!

asked 29.11.2016 at 11:29

peter_muc's gravatar image

peter_muc
29111115
accept rate: 0%


There is no API for that. And it sound like a hack to me.

But you could change the creation date directly in the SystemDB: iwa_task.startTimestamp.

link

answered 29.11.2016 at 11:50

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k21857
accept rate: 70%

edited 29.11.2016 at 11:50

Thanks for your quick answer. Yes looks like a hack, but from my perspective it is the only way to document system activities which have been done outside of IVY, isn't it?

In case we would update the systemDB entries directly, the DB value updates are applied directly or is there something other to do (restart of engine...:) )?

(29.11.2016 at 14:41) peter_muc peter_muc's gravatar image

Yes a restart of the engine is also required. Because task data are cached by the engine and only seldom read from the database. You may get corrupt data if you manipulate the systemDb content while the engine is running.

(30.11.2016 at 08:37) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

Ok thanks, in this case we need to think about another solution...restarting the engine for each new system task is not really an option :)

(30.11.2016 at 09:27) peter_muc peter_muc's gravatar image
Your answer
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:

×68

Asked: 29.11.2016 at 11:29

Seen: 714 times

Last updated: 30.11.2016 at 09:27