Announcement Announcement Module
Collapse
No announcement yet.
How to retrieve the execution key of flowExecutionUrl from javascript? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to retrieve the execution key of flowExecutionUrl from javascript?

    i am trying to retrieve the execution key from flowExecutionUrl from javascript by doing string manipulation.

    here's sample url:
    Code:
    http://111.11.11.11:8080/webapp/app/simulation/simulation-flow?execution=e4s4
    my workaround in javascript, i just do the string manipulation by searching the "execution" value.

    I need the key to pass into my controller.
    Is there elegant way to achieve it?

  • #2
    accidentally discovered.

    Code:
    <input type = "hidden" value = '${flowExecutionUrl}'  id = "_flowExecutionUrl"  name = "_flowExecutionUrl"></input>
    <input type = "hidden" value = '${flowExecutionKey}'  id = "_flowExecutionKey"  name = "_flowExecutionKey"></input>
    i had flowExecutionUrl then when I tried the flowExecutionKey,
    instantly done!

    thanks guys

    Comment

    Working...
    X