Announcement

Collapse
No announcement yet.

Obtaining Previous value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Obtaining Previous value

    Hi.

    I'm trying to get the former value of a field. How can I retrieve it?


    Let me explain better the question with an example. We are managing a wharehouse,

    There is a Table 'ALInventory'. And the records have a field called 'position'.

    When a user goes to the wharehouse and change the position on an element he goes to the 'ALInventory' layout and modifies it. For example from value 'North 12' to 'West 22'

    That change launches a BPM process that does several things. Whithin that process I need to know what was the former value of 'position'.

    I have tried with entity\attributeFetched and allways get the already updated value ('West 22')


    Is it possible to get the former value? If yes, how?





  • #2
    Hello esendino,

    This example will help you to get previous value of an attribute:

    ifThen(
    entity\isAttributeChanged('assignedUserId') == true,
    description = entity\attributeFetched('assignedUserId')
    );

    Comment

    Working...
    X