Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to fetch transition screen name in behaviors ?

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 23, 2021 • edited May 04, 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