cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Getting attribute value from task

smcvr
14-Alexandrite

Getting attribute value from task

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?

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire I
(To:smcvr)

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

 

 

 

View solution in original post

10 REPLIES 10
Fadel
22-Sapphire I
(To:smcvr)

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.

Fede
smcvr
14-Alexandrite
(To:Fadel)

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
22-Sapphire I
(To:smcvr)

Hi , is this a change task ?

Fede
smcvr
14-Alexandrite
(To:Fadel)

no, ticket task

Fadel
22-Sapphire I
(To:smcvr)

Ticket from Servigistics field Management  ?

Fede
smcvr
14-Alexandrite
(To:Fadel)

No, I need to use windchill tickets. I need to customize these tasks

HelesicPetr
22-Sapphire I
(To:smcvr)

Hi @smcvr 

I just haven't get a point. 

You asked for the configuration how to set attribute mandatory.

Then you said that you want to do not force users to fill that attribute. 

What is the point what Iam missing ? 

PetrH

smcvr
14-Alexandrite
(To:HelesicPetr)

Hi @HelesicPetr ,

 

Sorry, I wrote the question wrong.

When I add it to the Variables task, it automatically becomes mandatory.
I want this obligation to be removed

HelesicPetr
22-Sapphire I
(To:smcvr)

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

 

 

 

smcvr
14-Alexandrite
(To:HelesicPetr)

@HelesicPetr  and @Fadel  Thanks for your help

Announcements

Top Tags