on 09-23-2011 2:16 AM
Hi Experts,
I have a requirement where I need to map parameters depending on the menu options selected by the user.
there are three menu options - create, check and send and each of them needs different parameter mappings. for e.g. if user selects create then 'create' should be mapped to corresponding parameter and similarly for others
I thought of changing (adding/removing) keys in related functions in Workflow.js, but not sure if it 'll work or if its a good practice.
Any pointers are appreciated.
Regards,
Victor
Your best bet is likely to use the same parameter mappings and change the key values dynamically at runtime in the customBeforeMenuitemClick. You certainly can change the code in Workflow.js, but its not recommended, as it'll be overwritten every time you regenerate (unless you turn the Generate checkbox off).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.