Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple processes #205

Closed
JohnCatn opened this issue Nov 5, 2015 · 3 comments
Closed

Support for multiple processes #205

JohnCatn opened this issue Nov 5, 2015 · 3 comments

Comments

@JohnCatn
Copy link

JohnCatn commented Nov 5, 2015

I have two processes I'd like to utilise the mashup on, I have the following config but the constraint is not being applied to the second process. I'm unsure if this is a supported feature.

tau.mashups    
    .addModule('CFConstraints.config', function() {
        return [{
            processId: 2,
            constraints: {
                'userstory': {
                    'entityStates': [
                        {
                            name: 'Done',
                            requiredCustomFields: ['DoneReason']
                        }
                    ]                   
                }
            }
        },{
            processId: 4,
            constraints: {
                'userstory': {
                    'entityStates': [
                        {
                            name: 'Done',
                            requiredCustomFields: ['DoneReason']
                        }
                    ]                   
                }
            }
        }];
    });
@pinkypeaky
Copy link
Contributor

Hi John,

Two processes are supported in this mashup, and the syntax you've posted here is correct.

Please double-check whether you've properly specified process ID, entity state name and custom field name for the second process.
If this doesn't help, please feel free to contact our support at support@targetprocess.com

Best wishes,
Julia.

@pinkypeaky
Copy link
Contributor

John, please also make sure you refresh the page after you apply any changes to mashup configuration.

@JohnCatn
Copy link
Author

JohnCatn commented Nov 6, 2015

Thanks both, I retired it this morning and it's working. Must have just been a cache/refresh issue.

@JohnCatn JohnCatn closed this as completed Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants