Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error using cfvalues in simple scripted validator

Dustin Glienke September 22, 2020

Hey,

I want to create a simple scripted validator by using cfvalues. Unfortunately I got the following error:2020-09-23 08_53_20-Update Workflow Function Parameters.png

2020-09-23 08_53_29-Update Workflow Function Parameters.png

What I'm doing wrong?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2020

Could you check the configuration of the Teilnehmer field?  In the list of custom fields, check:

  • That there is one, and only one field called that
  • What the field type is
  • Go in to edit the field and look at the "searcher" for it
Dustin Glienke September 23, 2020

Hey Nic,

you are right, there was another field with the same name. I deleted that field.

The second warning is away.

Moreover, the first warning is still there:

2020-09-23 12_53_56-Update Workflow Function Parameters.png

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2020

Ok, great.  That looks like it is now finding a single field and reading it.

However, that field looks like it is returning a user object, not a collection of selected items.  Can you confirm exactly what field type Teilnehmer is (and what its searcher is)?

Dustin Glienke September 23, 2020

Hi Nic, that is the key! It is a multi-user picker.

I wanted to limit the number of users. Is there a way to do that with a different condition?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events