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

Question

Question

RemoveAt not working for a single item multi-value token

asked on June 26, 2015 Show version history

In case %(Multi_#@Count@#) initially equals 1, I would expect %(Multi_) be empty after executing:

Why does Workflow 9.2.1.227 leaves %(Multi_) unaltered?

 

EDIT July 7th: anyone at Laserfiche could help please ?

0 0

Answers

APPROVED ANSWER
replied on July 7, 2015

Sorry for the late reply. A multi-value token with a single value treated as a single-value token. Multi-value token function, like RemoveAt, are not applied to single-value tokens.

As a workaround, you can use the value count to detect whether you're in the single or multi-value case.

0 0
SELECTED ANSWER
replied on July 24, 2015

Thanks Miruna. I thought Laserfiche makes the difference between a single-value token and a multi-value token with one value... Anyway your workaround is in place and it works great!

0 0
SELECTED ANSWER
replied on July 24, 2015

Thanks Miruna. I thought Laserfiche makes the difference between a single-value token and a multi-value token with one value... Anyway your workaround is in place and it works great!

0 0

Replies

replied on July 7, 2015

The reason I imagine this does not work is because you are saying the new value is an empty string, not emptying it out totally. I imagine you might be able to do this in code, but I am not quite sure what you are trying to accomplish.

What is the goal here?

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

Sign in to reply to this post.