Setting the values in a data table using the expression in "AddDataTableColumn" activity
I am attempting to develop a workflow that does the following:
- User selects accounts on map
- User completes form
- Data from account is merged with information from form, such that each account record will include the same form information
- Report generate that includes account information plus values from form
- CaptureGeocometry to select accounts
- Query accounts based on geometry – result is account feature set
- Display form to allow user to enter general project information
- Convert feature set to datatable (FeatureSetToDataTable)
- For each item in form, add a column to the datatable (AddDataTableColumn) and use the expression to set the values to the variable from the form.
I am I just approaching this the wrong way trying to use the expression in the AddDataTableColumn?
0
-
Hi Shana,
I didn't go through your issue exactly, what I understand is that you are trying to add a column to a datatable with spaces in the FielName. I think datatable columns should not allowed with spaces, hence you can replace the spaces with underscores.
Regards,
Mohammad Ashraf0 -
Update: I replaced the expression with this format, which worked perfectly: string.format("'{0}'", VARIABLE_NAME) 0
Please sign in to leave a comment.
Comments
2 comments