Skip to Content
author's profile photo Former Member
Former Member

using attributes in Workitem title brings old data

Hi all,

the workitem text is defined in the corresponding task -> Work Item text.

I have inserted a BOR attribute and do use the same attribute in the description text of that task.

A few minutes after a workflow instance was created, the value of the attribute will be changed, outside of any workflow processes.

A workflow agent executes his inbox now and gets the old value of the attribute, not the updated value? But in the description field the updated value is used - of course this is confusing for the agent...

For me it looks like the workitem texts are stored in a table, and will not be updated, even if a attribute is used. But the desription text will be created at runtime. Propably they did that because of performance reasons?

Can anybody confirm this behavior, or did I do any mistakes?

Any proposals to avoid this - I considered to use a dynamic field for that attribute, would this be a better solution?

thanks, Jo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:18 PM

    This is something related with buffering issue. Please run this program RHWFINDEXRESET in background periodically which will refresh the buffer.

    I also think that the workitem text will also change accordingly to the attribute value. May be the user has clicked on the workitem text when the change was not made and at that point of time the attribute value was changed:)). This is the rarest of scenario. You can ask the user in this case to cancel the workitem and then check and probably now the value will be reflected.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 31, 2008 at 03:07 PM

    I can't confirm it with certainty, but my understanding agrees with yours - the work item text is more static than the work item description. This can be observed in SWI1 if you change the work item text and description. If you compare work items created before and after the change the work item text in SWI1 will be different (will be as at time of work item creation), but the work item description will be the same (will be updated with the latest changes).

    I have had much use of the latter when changing work item texts to use script instructions so some information is only included if certain conditions are met. 😊

    I have one suggestion you can try - I don't know if it will work (don't believe I have used attributes that can change in work item texts lately). Go to the personal workflow settings and select "Display work item text in logon language". If you are lucky that will refresh the text even if the logon language is the same as the work item language.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 04:14 PM

    thanks for both answers...

    I did not know that reprot RHWFINDEXRESET but it did not help. Also setting the workitem lang does not help.

    In the meantime I customzied for that task a dynamic column and use that field. In that column I get the updated value of my attribute...

    For me it looks like you have to be very carefully when using attributes in workitem text.

    This text seems to be static, not the dynamic column and not the description text.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.