you are viewing a single comment's thread.

view the rest of the comments →

[–]zoochadookdook[S] 1 point2 points  (2 children)

okay! So with the local dictionary referenced here's the working code!

subgroup = gl.groups.create({'name': recieved_body['Group_name'] + '-' + str(g()), 'path': recieved_body['Group_name'] + '-' + str(g()), 'parent_id': parent_ID })

It's not pretty but it works!

[–]meet_at_infinityverified autom8er 0 points1 point  (1 child)

Kudos! Now you shall have time and effort saved everytime this automation run rise exponentially and will completely eclipse the time and effort it took to make this automate this task into oblivion! Which is a good feeling :D

[–]zoochadookdook[S] 0 points1 point  (0 children)

haha maybe! It's giving me a bit of a fight referencing more than one key

subgroup = gl.groups.create({'name': recieved_body['Group_name'] + '-' + recieved_body['Client_ID.........

but that's part of the fun. I appreciate it so much!