I've created a custom post with custom taxonomies, which would be a TASK. Only one user would be able to create these TASKS. Other users should be able to assign these tasks to them.
I've created the custom post, custom taxonomies, a form with CRED to create a task. I'll create the view of all these TASK. No problem with that.
But is this possible to show a button on every of these tasks. And then the button would be clicked by any user, the task must be assigned to him. Is it possible to do that with toolset?
The button can just add a something like a taxonomy with this users name. Or add an user name to any custom field. Or make a reltionship with that particular user. I don't know. Is the way to do that?
Hi, you could accomplish something like this with an additional CRED form. The form will include only one button, which can be called "Take it" or "Assign to me". When the user clicks the button, it submits the form and creates a new CPT, which will be a child of the current Task. You will create a new custom post type, something like "Assignment", which will be the child post type.
In your Content Template for Tasks, you will place your CRED form inside a conditional. That conditional will test to see if there are any child posts of the current Task. If not, you will show the form so someone can click the button and assign the task to themselves. If a child post exists, then you know that the Task has already been assigned and you can show a different message instead of the form.
This is just a general overview. If you have specific questions about how it works, feel free to follow up here or open separate tickets for individual questions.