Solved

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

  • 18 September 2020
  • 2 replies
  • 20 views

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

icon

Best answer by butlerj 18 September 2020, 17:19

View original

2 replies

Userlevel 5
Badge +19

@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.

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

Reply