You are viewing limited content. For full access, please sign in.

Question

Question

Cloud Workflow - Can not get field values of entries in the repository

asked on January 2, 2021 Show version history

After selecting fields to retrieve in the search repository activity it does not generate a token for use.

If I use Retrieve field values and select other entry, the Search activity is not available for use.

Either of these options always worked before switching it cloud. Even the workaround of adding a retrieve activity is no longer working.

0 0

Answer

SELECTED ANSWER
replied on January 4, 2021

This is the same behavior as in Workflow 10.. You need to iterate through search results with For Each Entry to have access to field values for each result.

0 0
replied on January 4, 2021

Ok, I suppose I can loop just 1 entry in that case. It is not a multi-entry search. For some reason in Workflow 10 I can just reference the Search object directly when I expect only 1 entry.

0 0

Replies

You are not allowed to reply in this post.
replied on January 4, 2021

Hi Chad,

SearchRepository in Cloud returns a collection of entries in all cases. You can access each entry (and its associated fields) by iterating over SearchRepository-OutputEntries in a ForEachEntry loop.

You are not allowed to follow up in this post.

Sign in to reply to this post.