Forums

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

How to fetch transition screen name in behaviors ?

Tanu Ranjan Bharadwaj April 14, 2021

Hello Team,

I have to make one field readonly/writeonly on a particular transition screen depending upon some other preconditions via behaviors.

That field is present on edit screen as well as on that transition screen but I want to control its edit behavior on transition screen by one particular project role.

Currently I used this --> if(getFieldScreen().name == "Screen Name"), but it is not working.

Kindly help me with the probable solution.

 

Best Regards,

Tanu Ranjan Bharadwaj

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 23, 2021

Hi @Tanu Ranjan Bharadwaj

To get the screen name using the Behaviour, you could use something like:-

if(actionName == "Screen Name") {
}

For example:

if(actionName == "Create") {
}

 

I hope this helps to answer your question. :)

 

Thank you and Kind Regards,

Ram

TAGS
AUG Leaders

Atlassian Community Events