Skip to main content
Solved

How to give users a notification (at start-up)?

  • February 28, 2022
  • 4 replies
  • 155 views

Dennis van Leeuwen
Hero
Forum|alt.badge.img+12

 :loudspeaker: How to give users a (one-time) notification?

For example:
With the current situation in Russia and Ukraine, we want to alert colleague about deliveries in these countries. The user should indicate that they have read this notification so that it will not be displayed again next time.  


I was triggered by the SF message you get as a developer after performing an upgrade. 

 

Best answer by Mark Jongeling

Hey Dennis,

What you can do is create a checkbox in your end product that holds the value 0 or 1, 0 being that the specific user has not seen the notification and 1 being the user has. 

As Start object for each user, it can be a Task. This task is a Starting point of a process flow. The task doesn't need to do anything. There should be a process procedure after this Task deciding it should continue the flow or stop based on the "have I already shown this message”-checkbox.

 The Task is followed by the message you want to show. You can choose to have the message have multiple message options but if it's just a one-time throw, you can set a process procedure after the Message to set that checkbox to 1; to indicate the user has seen it. 

Hope it helps!

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

4 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • Answer
  • February 28, 2022

Hey Dennis,

What you can do is create a checkbox in your end product that holds the value 0 or 1, 0 being that the specific user has not seen the notification and 1 being the user has. 

As Start object for each user, it can be a Task. This task is a Starting point of a process flow. The task doesn't need to do anything. There should be a process procedure after this Task deciding it should continue the flow or stop based on the "have I already shown this message”-checkbox.

 The Task is followed by the message you want to show. You can choose to have the message have multiple message options but if it's just a one-time throw, you can set a process procedure after the Message to set that checkbox to 1; to indicate the user has seen it. 

Hope it helps!


Dennis van Leeuwen
Hero
Forum|alt.badge.img+12

Hi Mark,

Your suggestion to execute this as a start object is a good one. Also your principle of a process flow where you convert a value. At what level would you recommend capturing this? 

The best would be to control this from your IAM users since a logged in user will be here at all times. 

 

IAM | Users > Master data > Tags

 

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

That could work, for instance via the use of an Application connector. You can then set-up a SQL query to run on the IAM application to update the value of this tag. Making use of dbo.tsf_user() you can find the logged in user inside IAM and update the tag's value.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 1032 replies
  • March 1, 2022

@Dennis van Leeuwen @Mark Jongeling We use a Task Start Object to display Release Notes (this works for the Universal GUI at least). We actually have a more simple solution, which only involves a Task and no Process Flow. I think that would also be more plain and simple for your use case as well

We use a Task with a Task procedure and a Layout and Default procedure:

  • The Default procedure retrieves the message to be displayed from a table in which the message is specified
  • Upon Task Execute the message is marked as Read for the tsf_user
  • The Layout procedure will set all Task Parameters to Hidden if message is marked as Read for the tsf_user, as a result the Task pop-up will not show upon next startup of the GUI

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings