Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:05:32+00:00 2026-05-26T11:05:32+00:00

i have this grails webflow def currencyDescriptionFlow = { start { action { flow.messageCommand

  • 0

i have this grails webflow

def currencyDescriptionFlow = {
    start {
        action {
            flow.messageCommand = new MessageCommand()
            flow.currencyId = params.id
            flow.languageList = Language.findAll([sort: 'codeDescription', order: 'asc'])
        }
        on('success').to('description')
    }

    description{
        action{
            flow.DescriptionMessageList = Message.findAllByKey(flow.currencyId + '_Currency')
        }
        on('add').to('addSubmit')
        on('finish').to('currencyShow')
    }

    addSubmit{
        action {
            MessageCommand cmd ->
            flow.messageCommand = cmd
            if (!flow.messageCommand.validate()){
                error()
            }
        }
        on('error').to('description')
        on('success').to('description')
    }

    saveMessage{
        action{
            def str =  flow.currencyId + '_Currency'
            messageSevice.descriptionMultiLanguage(str, params.description, params.Language)
        }
        on('error').to('description')
        on('success').to('description')
    }

    currencyShow{
        redirect(controller:'currency', action: "show", id: flow.currencyId)
    }
}

when i click the link to redirect to this page, ann error occurs

Error 500: No transition was matched on the event(s) signaled by the [1] action(s) 
that executed in this action state 'description' of flow 'message/currencyDescription';
transitions must be defined to handle action result outcomes -- possible flow 
configuration error? Note: the eventIds signaled were: 'array<String>
['success']', while the supported set of transitional criteria for this action 
state is 'array<TransitionCriteria>[add, finish]'

Servlet: grails

URI: /adm-appserver-manager/grails/message/currencyDescription.dispatch

Exception Message: No transition was matched on the event(s) signaled by the [1] 
action(s) that executed in this action state 'description' of flow 'message/currencyDescription'; 
transitions must be defined to handle action result outcomes -- possible flow
configuration error? Note: the eventIds signaled were: 'array<String>
['success']', while the supported set of transitional criteria for this action state 
is 'array<TransitionCriteria>[add, finish]' 

Caused by: No transition was matched on the event(s) signaled by the [1] action(s) 
that executed in this action state 'description' of flow 'message/currencyDescription'; 
transitions must be defined to handle action result outcomes -- possible flow 
configuration error? Note: the eventIds signaled were: 'array<String>['success']',     
while the supported set of transitional criteria for this action state is 
'array<TransitionCriteria>[add, finish]' 

Class: Unknown 

At Line: [-1] 

Code Snippet:

Note:

where language is a table in the database
MessageCommand is command object
messageService is a service
descriptionMultiLanguage method in message service for saving message


i try this way of writing code in another action and controoler and it works without any error.


by debugging this code i found the error on ( 
on('add').to('addSubmit')
on('finish').to('currencyShow')
)
when i remove these 2 lines , no problem found
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:05:32+00:00Added an answer on May 26, 2026 at 11:05 am
    def currencyDescriptionFlow = {
        start {
            action {
                flow.messageCommand = new MessageCommand()
                flow.currencyId = params.id
                flow.languageList = Language.findAll([sort: 'codeDescription', order: 'asc'])
                flow.DescriptionMessageList = Message.findAllByKey(flow.currencyId + '_Currency')
            }
            on('success').to('description')
        }
    
        description{
            on('add').to('addSubmit')
            on('finish').to('currencyShow')
        }
    
        addSubmit{
            action {
                MessageCommand cmd ->
                flow.messageCommand = cmd
                if (!flow.messageCommand.validate()){
                    error()
                }
                flow.message = null
            }
            on('error').to('description')
            on('success').to('saveMessage')
        }
    
        saveMessage{
            action{
                Message messageInstance = new Message(language:flow.messageCommand.language,value:flow.messageCommand.value,key:flow.currencyId + '_Currency')
                if (!messageInstance.save(flush:true)){
                    flow.message = "${message(code: 'error.adding.description')}"
                    error()
                }
                flow.DescriptionMessageList = Message.findAllByKey(flow.currencyId + '_Currency')
            }
            on('error').to('description')
            on('success').to('description')
        }
    
        currencyShow{
            redirect(controller:'currency', action: "show", id: flow.currencyId)
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in a Grails 1.0.4 Groovy console: def devices = Device.getAll()
I do have this code on my demo.gsp file. But I´m new to grails
This is my current scenario: I have checked in my grails app code +
I have this string 'john smith~123 Street~Apt 4~New York~NY~12345' Using JavaScript, what is the
I have this log4j configuration in my grails config.groovy log4j = { error 'org.codehaus.groovy.grails.web.servlet',
I have an array in my grails class class BootStrap { def init =
i use webflow in a my grails application, i have 2 tables with relation
I have this task: realize Grails application with ExtJS. And one part of this
I'm using Grails 1.2.1. I have this method in my controller … class SocialMediaCacheProxyController
I have three environments blocks in my Grails config file similar to this: environments

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.