Skip to main content
Nintex Community Menu Bar
Solved

Create an Item (SharePoint Online) action unable to configure result

  • September 18, 2020
  • 2 replies
  • 48 views

Forum|alt.badge.img+1

I have below simple workflow with Create an Item action

8995i57952D5FDEA6E53D.png

 

I need to configure the Create an Item output so that I could get the ID of the new item created, so I have created an Object variable as below

8997i267EDB4B0F0DBC56.png

 

When I configure the variable objNewListItem as below

8996iF6ED48D6E7A16EF8.png

 

the action shows the error ‘Some fields contain variables that can only be used inside associated Loop for each containers. We recommend removing the variables from this configuration.’

8998i990E67DD08938324.png

 

Could someone help me the detail of what’s wrong with my configuration or how to configure the Create an item rightly, so I could get the id of the item created please. Many Thanks

Best answer by butlerj

@Saran-Talan this is actually due to a known issue when working with Objects. If you just change the variable name to not include 'obj' at the front it should work as expected. This naming conflict is something the dev team is currently working on resolving.

2 replies

butlerj
Nintex Employee
Forum|alt.badge.img+20
  • Nintex Employee
  • Answer
  • September 18, 2020

@Saran-Talan this is actually due to a known issue when working with Objects. If you just change the variable name to not include 'obj' at the front it should work as expected. This naming conflict is something the dev team is currently working on resolving.


Forum|alt.badge.img+1
  • Author
  • Rookie
  • September 19, 2020

Many Thanks for your quick response @butlerj, I never imagined prefix of a variable could cause a issue