This is the result of an API call that is different for each user. At the moment, the result is shown on all pop-ups for all the users that have a profile. How can I set up the text (result of the API call) to only show the result for the relevant user?
Thanks in advance!
Set not visible on page load
Add condition when this popup’s user is current user, this element is visible
1 Like
WOW, thanks for the immediate answer!
The pop up is only visible by the recruiter, so they are not the parent´s group user, how should I do it in that case?
I’m not sure what you mean but add a condition when current user’s role is Recruiter (you must have some kind of way to know that the user viewing the popup is a recruiter). If you can explain what you’re trying to do in more detail I might be able to offer a better answer
1 Like
Thanks very much george, you are saving my day. The current user is the recruiter. The text value is the result of the matching between the candidates profile and the current job that the recruiter is viewing the application for. The result of the API is for the specific candidate the recruiter is currently viewing (The cv of the candidate to be precise). Currently, all the CV pop up contain the result of the analysed CV after the matching button has been clicked. What I want to do is to make sure the results are only shown for the specific candidate and/or reset the text value to 0 once the pop up is closed.
Here is a pic of the buidling side
Okay, so the API call takes the % of the first candidate popup that you open and doesn’t update if a different candidate is opened.
Put the text in a group (and make the datasource of the group the API call). When the popup is opened and after displaying the candidate in the popup, reset the API call group so that the API call refreshes with the new user. Pretty sure that should work.
1 Like
I save the API in a custom state and am not able to make it the data source, any idea on how I could fix that? Thanks so much for the help
How are you calling the API?
I tried to reset the group I create below, it´s not working and still showing the results of the others, any way i can go around the data source problem?
Uploading: image.png…
This is the error I am getting
THANKS SO MUCH
I did it like this: Thanks to your advice of putting the group below the text I was able to show the element when the workflow is triggered and hide the element once the popup is closed, Like this the % number is only shown after clicking and therefore showing the right data. Thanks so much George you are the best!!!