Skip to main content
Question

How can I use KM variables in Views ?

  • October 19, 2022
  • 3 replies
  • 7 views

Forum|alt.badge.img+5
How can I use KM variables in Views ?

3 replies

janpeter.van.d
Level 12
Forum|alt.badge.img+26

Hi @Raman Silotia,

 

Please try to put the variable key in this format: ${{currency}}.

 

Kind regards,

Jan-peter


Forum|alt.badge.img+5
  • Author
  • Level 8
  • October 27, 2022

ok thanks,

also is the opposite of it possible ?

like can I use view variables in knowledge model ?


janpeter.van.d
Level 12
Forum|alt.badge.img+26

ok thanks,

also is the opposite of it possible ?

like can I use view variables in knowledge model ?

Hi @Raman Silotia,

 

I'm afraid that's not possible. View variables are user specific, whereas KM variables are the same for all users. In other words, if you change a view variable, it will not be set for other users. For more details, see Views Variables (celonis.com).

 

If you realy want this (and are bit coding savvy), you could create a workaround by entering a button that triggers an Action Flow, that updates a KM variable using PyCelonis (https://celonis.github.io/pycelonis/1.7.2/reference/celonis_api/studio/knowledge_model/#celonis_api.studio.knowledge_model.KnowledgeModelDraft.variables). This is however something that I've never used in practice.

 

Kind regards,

Jan-peter