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

Question

Question

Security Tag Field from Forms to Laserfiche

asked on October 17, 2017

In Forms, I have a Security Tag field that allows the user submitting a document to choose one security tag.

Now I believe I require assistance in Workflow on how to take that chosen tag value, if it exists, and pass it to Laserfiche. Unfortunately, Assign Tags wants me to choose a specific tag. I want it to assign whatever tag was chosen (from token value = CurrentSecurityTag).

Thanks!

0 0

Answer

SELECTED ANSWER
replied on October 17, 2017

You could script it with an SDK script activity.

        EntryInfo ei = this.BoundEntryInfo;
        String tagName  = GetTokenValue("Tag").ToString();
        TagInfo ti = Tag.GetInfo(tagName, RASession);
        ei.AssignTag(ti, "This is a comment");
        ei.Dispose();

Note that if you're using security tags, the user specified in the workflow's connection profile needs to be granted all the security tags you might be assigning in the script.

1 0
replied on October 18, 2017

Thanks! Worked great once I provide the proper input.

0 0

Replies

replied on October 17, 2017

You can use a conditional branch where each condition would be "if <checkbox A> is checked" and then inside the branch you can assign the corresponding tag.

1 0
replied on October 17, 2017

An option, but was trying to make it dynamic, if possible.

0 0
replied on October 17, 2017

I'd recommend taking a look at the SDK 10 documentation on tags. Ege's method is your best bet if you're trying to use Workflow out of the box. Otherwise you can likely use a script to grab the field and assign a tag.

 

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

Sign in to reply to this post.