Skip to main content
Nintex Community Menu Bar

Update the Form Field

  • January 9, 2019
  • 13 replies
  • 130 views

Forum|alt.badge.img+3

Hello Everyone, I'm very new to the Nintex workflow and still improving my skills within the same space. I need to build a very simple workflow but not able to execute it properly So hopefully someone will able to help me with my query.

I have a form which is submitted by the user and can't update the fields once its submitted so I need to run the workflow to update the contractor company from xyz (entered by the user) to ABC (should update the field after running the workflow).

Environment - Sharepoint Online

Using update XML 

221887_pastedImage_1.png

Much appreciate your assistance.

regards

13 replies

Forum|alt.badge.img+14
  • Scholar
  • January 9, 2019

I have a form which is submitted by the user and can't update the fields once its submitted

could you elaborate what would you like to update but can not?

is it an user who can not update the field(s)? or is it the form which do/can not update the field(s)? what are the reasons?

what's field's data type you'd like to update? why did you decide to use update XML action?

if update XML action is reasonable, provide screenshot of its configuration as well.

sample of the field content it should update would be helpful as well.


Forum|alt.badge.img+3

Hi Marian,

Thanks for getting back to me.

I need to update the single field in the form which has been submitted by the end user(can't be edit now).

Column name - Contractor Company

current Item - Patel for....(...woods to update)

Update with - XYZ

221918_pastedImage_1.png

This is my workflow

221919_pastedImage_2.png

Configuration is as follow - 

Variable CC - manually enter the new item as a text before the start the workflow to update the existing contractor company field.

221920_pastedImage_3.png

This is on the publish page - this workflow has to be run manually.

221921_pastedImage_4.png

much appreciate your assistance.

regards


Forum|alt.badge.img+3

I thought using XML might be the good option to update the field once submitted the form.

Please advise if there is better way to do it.


Forum|alt.badge.img+14
  • Scholar
  • January 10, 2019

Forum|alt.badge.img+3

Thanks Marian, I've tried the Update list item before without any success but will try again one by one.

Just 2 question now - do i need any other action to close the workflow apart from Update list item - see below

221934_pastedImage_1.png

And this is my configuration which I'm currently trying.

221935_pastedImage_2.png


Forum|alt.badge.img+3

Also Marian,

When I try to select the filed - doesn't come up with the contractor Company - 

221942_pastedImage_1.png


Forum|alt.badge.img+14
  • Scholar
  • January 10, 2019

do i need any other action to close the workflow

no, red ellipse 'control' at the very end mean end of the workflow

And this is my configuration which I'm currently trying.

so did it work?

(document) 'Name' list field  should have been set to the value of 'Contractor company' list field and 'Contractor company' list field to the value of 'CC' workflow variable.


Forum|alt.badge.img+14
  • Scholar
  • January 10, 2019

what about 'Update Contractor Company name' entry?


Forum|alt.badge.img+3

its not completed yet - workflow status is 'STARTED'


Forum|alt.badge.img+3

Hi Marian,

never worked as the workflow keeps saying Invalid URL = the value i've entered manually before starting the workflow and will be updating with the existing one.

thanks for trying and looking forward if you have anything else to advise.

regards


Forum|alt.badge.img+14
  • Scholar
  • January 21, 2019

I'm sorry, I'm not sure what you're talking about here...

what URL you mean? up to know you wanted to update a Company field...

where do you get the error?

can you post a screenshot of the error?


Forum|alt.badge.img+3

HI Marian, this is what I've done so far.

This is my update List Item configuration.

222718_pastedImage_1.png

When i run the workflow manually - need to enter the value (which will replaced the existing value.)

When I check the workflow status - STARTED

222728_pastedImage_2.png

Let me know if i'm missing something here.

regards


Forum|alt.badge.img+14
  • Scholar
  • January 28, 2019
This is my update List Item configuration.

with this setup the action does effectively nothing since you update 'Contractor company' name with its own value.

you should update field value with eg. value of a variable (likely 'CC' as you mentioned above)

When i run the workflow manually - need to enter the value (which will replaced the existing value.)

so I guess you have designed workflow start form and you capture new value there - so you should connect a control on start form to the respective workflow variable ('CC') and then make update with that variable.

When I check the workflow status - STARTED

despite your update action is not configured properly, I don't think it would generate error like this.

it rather sounds to me to be a configuration/infrastructure problem.

try to copy out an URL from error message from 'https" until '(3527)' (including) and let it display im a browser. what output do you get?