bildwelt
E2E FORUM
E2E Bridge E2E Commerce

GetObjectHandles identifierCondition

E2E Forum Modeling & Development GetObjectHandles identifierCondition

This topic contains 1 reply, has 2 voices, and was last updated by  Marcel R. 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #699

    Cliff Faurer
    Participant

    Hello,

    How can I create an identifierCondition in a GetObjectHandles <<PerisistentStateAdapter>> activity that will return handles based on input data that ignores any null fields but returns handles based on anding of the input fields?

    Thanks,

    Cliff

    #701

    Marcel R.
    Blocked

    Hi Cliff,

    introduce a new object descriptionPattern in an action script before calling getObjectHandles:

     set descriptionPattern = if (description.exists()) then concat("%", description, "%") else "%";

    then use descriptionPattern in the identifier condition of the getObjectHandles action like

     object.description like descriptionPattern

    This should do the trick. For IDs you might prefer

     set idPattern = if (id.exists()) then id else "%";

    Regards,

    Marcel

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.