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

Question

Question

Insert Data via Workflow & Concatenation data in to a field.

asked on July 17, 2018

Hello all,

I have a form in my VM at the moment which requires a submitter to select a printer from the list of available devices before booking the showroom for the day. Once the printer is selected there is a list of components that are currently on that printer displayed below in a table.

From this form I'm feeding the data back to a SQL table in ExternalTables called 'CalendarBookings' via the Workflow tool.

I am running aground, however, when it comes to concatenating the values in the printer list drop down menu and the table of components. The field I have for this is a lengthy (500) varchar one and it has taken data of this nature before via direct injection and the workflow tool doesn't appear to be dropping me any errors regarding input for this field. The rest of the row is populating as expected when the form is submitted.

Is there an issue concatenating values from a drop-down menu & a table? Or is it more that concatenation in to one column in SQL isn't possible in the Insert Data function?

Or, magic option 3, I'm doing something horrendously wrong...

0 0

Replies

replied on July 17, 2018

Some additional information would be helpful to identify the problem. First, what behavior are you actually seeing? Is it populating the value incorrectly or is it not putting any value in at all?

I would include a track tokens activity in the workflow so you can see the actual values you are getting from Forms to make sure that part is working as expected.

Also, check the instance data for the form to make sure the values are being saved correctly.

Concatenating values for a SQL insert activity should be as simple as putting two tokens next to each other where you set the insert value, for example %(token1)%(token2)

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

Sign in to reply to this post.