# Person and group variable not saved

**URL:** <https://forum.flowable.org/t/person-and-group-variable-not-saved/4640>\
**Category:** Flowable Engine\
**Created:** [October 4, 2019, 12:35pm UTC](https://forum.flowable.org/t/person-and-group-variable-not-saved/4640 "2019-10-04T12:35:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zlouhichi](https://avatars.discourse-cdn.com/v4/letter/z/8edcca/32.png) [@zlouhichi](https://forum.flowable.org/u/zlouhichi)\
**Post date:** [October 4, 2019, 12:35pm UTC](https://forum.flowable.org/t/person-and-group-variable-not-saved/4640/1 "2019-10-04T12:35:24Z")

</div>

Hello i’m new with flowable. I had created 2 user tasks, all variables are passed from task 1 to task 2 except people and group variables.

---

<div class="post-metadata">

**Author:** ![mmva2142](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mmva2142](https://forum.flowable.org/u/mmva2142)\
**Post date:** [October 6, 2019, 7:39am UTC](https://forum.flowable.org/t/person-and-group-variable-not-saved/4640/2 "2019-10-06T07:39:34Z")

</div>

Hello, welcome to flowable.  
What do you mean people and group variables? you defined them as task variables inside task? if you define and set them, they must pass on to the next task as other variables. if you mean you added candidate group/user to a task the answer is no. each task can have candidate user/group independent of other tasks.

---

<div class="post-metadata">

**Author:** ![zlouhichi](https://avatars.discourse-cdn.com/v4/letter/z/8edcca/32.png) [@zlouhichi](https://forum.flowable.org/u/zlouhichi)\
**Post date:** [October 7, 2019, 8:20am UTC](https://forum.flowable.org/t/person-and-group-variable-not-saved/4640/3 "2019-10-07T08:20:32Z")

</div>

I created a user task in the form of this task I added variables of type text, person and group. All String variables are saved and available on complete in DelegateTask but the person and group variables are null. I work with version 6.4.

---

<div class="post-metadata">

**Author:** ![mmva2142](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mmva2142](https://forum.flowable.org/u/mmva2142)\
**Post date:** [October 8, 2019, 10:31am UTC](https://forum.flowable.org/t/person-and-group-variable-not-saved/4640/4 "2019-10-08T10:31:06Z")

</div>

Well if you put variables inside tasks and pass them to other task they shouldn’t be null at all. What do you need those group/users variables for? do you need them for candidate user/group or user assignee? if you do need them, you can add identityLink to your tasks by the task service. I assume you want to set the candidate or assignee of the next task, in this case: use TaskService and add them as candidate, also note that you are going to need the next Task ID to do this. after that the next task will be ready to go.
