Select to view content in your preferred language

Workforce Survey123 field integration issue

1376
8
Jump to solution
06-29-2022 06:55 AM
PatrickMarshallTT
Occasional Contributor

Hi everyone, I am getting the message 'Field must be a minimum of characters' when trying to integrate a Workforce Field with a Survey123 Question (see attached). This is strange, because I have existing surveys that successfully integrated two identical fields before. Any idea why this is not now working?

TimWadeTT_1-1656510927865.png

 

0 Kudos
1 Solution

Accepted Solutions
CraigGillgrass
Esri Regular Contributor

@PatrickMarshallTT yes, you won't be able to change their length; that's not supported.  You'll need to create a new field in your Survey with the length set to 4000.

Craig

View solution in original post

8 Replies
CraigGillgrass
Esri Regular Contributor

@PatrickMarshallTT what is the length of the Service Order Dispatcher Notes field?

0 Kudos
PatrickMarshallTT
Occasional Contributor

Hi Craig,

So the length of the Service Order Dispatcher Notes field in Survey123 is 1000 (the maximum I believe). I noticed that the Workforce Notes field is 4000 (this must be the default as I haven't changed this). Should I try to amend one of these so that they match?

Survey123_Form_Field.jpg

Workforce_Dispatcher_Notes_Field.jpg

0 Kudos
CraigGillgrass
Esri Regular Contributor

@PatrickMarshallTT yes, you won't be able to change their length; that's not supported.  You'll need to create a new field in your Survey with the length set to 4000.

Craig

PatrickMarshallTT
Occasional Contributor

Thanks Craig! This worked - I'm not sure if this was the best way, but I did this by setting a maximum character count of 4000 on the Multiline text field.

TimWadeTT_0-1656611850817.png

 

0 Kudos
RobertAnderson3
MVP Regular Contributor

Hi Craig,

Did this change recently? Because a Survey123 and Workforce integration I had set up last summer was working with these fields but now when I created new assignments for this summer it seems to have broken the links and this error appeared.

0 Kudos
CraigGillgrass
Esri Regular Contributor

@RobertAnderson3 can you send a screenshot?  Is the error now appearing in the Integrations dialog for Workforce?

0 Kudos
CraigGillgrass
Esri Regular Contributor

Robert, can you also check what the field lengths are for the Workforce field and the field you're trying to integrate with in Survey`123?

0 Kudos
RobertAnderson3
MVP Regular Contributor

Yes the error is now appearing in the Integrations dialog. The field lengths are different so that appears it will be the solution to this issue. Just got back to my desk and will be fixing it shortly.

EDIT: Oops my bad, I thought I had set up the links before cause the data was passing but I realize I must have used a CSV pulldata last year, that's on me, embarassing ahahaha.

Thank you Craig!

0 Kudos