Skip to main content
15-Moonstone
November 19, 2023
Solved

Getting attribute value from task

  • November 19, 2023
  • 1 reply
  • 2597 views

Hi community!

I want to get the values of some attributes from the users from the task.
When I define an attribute to the activity, I do this by selecting the required option, but when I do this, it wants to get that value as mandatory.

How can I make attributes mandatory in task?

Best answer by HelesicPetr

Hi @smcvr 

 

So you need to change it in the workflow variable.

HelesicPetr_3-1700470107664.png

HelesicPetr_1-1700470043647.png

HelesicPetr_2-1700470066205.png

 

PetrH

 

 

 

1 reply

Fadel
23-Emerald I
November 19, 2023

would you share some screenshots to better understand the issue (change task /workflow task ) , are the task using change tasks templates  ?

maybe https://www.ptc.com/en/support/article/CS35488 can help.

Buiꓘa
smcvr15-MoonstoneAuthor
15-Moonstone
November 20, 2023

Hi @Fadel,

 

I add a variable in the task as shown in the picture.

Since this makes the variable mandatory, it is necessary to close it after filling the text box.

But I want users to leave it blank whenever they want.

 

smcvr_0-1700458933165.png

 

Fadel
23-Emerald I
November 20, 2023

Hi , is this a change task ?

Buiꓘa