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

Question

Question

Is there a global variable for the repository ID?

asked on January 21

We have a WF that needs the repository ID to make a web request to the LF API. Is there a global variable we can use to put in the repository ID input parameter and not have to change it on new sites?

1 0

Answer

SELECTED ANSWER
replied on January 21 Show version history

Yes, if the workflow has a starting entry, a token called "Entry Repository" is generated with the ID of the repository where that entry resides. It can be found in the "Global" category in the token menu.

1 0
replied on January 22

Thank you! So just wanted to confirm, if there is no starting entry then this global token is not accessible any other way?

0 0
replied on January 27

@████████ The find entry activity does not return the Repository directly, but it does return the the Server which you can filter the Repository from with a Regular Expression or a split on "."

2 0
replied on January 27

Thank you! Might use this as a workaround.

0 0

Replies

replied on January 25 Show version history

Shame the customerID is not there either, its a fundamental ID thats needed to create URLs to send links to documents but it's not available.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.