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

Documentation issue #54

Closed
junaidiiith opened this issue Jun 12, 2017 · 6 comments
Closed

Documentation issue #54

junaidiiith opened this issue Jun 12, 2017 · 6 comments

Comments

@junaidiiith
Copy link

Here http://spiffworkflow.readthedocs.io/en/latest/tutorial/index.html, in the json, the president task

"president": {
            "class": "SpiffWorkflow.specs.ExclusiveChoice.ExclusiveChoice",
            "name": "president",
            "manual": true,
            "inputs": [
                "general"
            ],
            "outputs": [
                "workflow_aborted",
                "nuclear_strike"
            ],
            "choice": null,
            "default_task_spec": "workflow_aborted",
            "cond_task_specs": [
                [
                    [
                        "SpiffWorkflow.operators.Equal",
                        [
                            [
                                "Attrib",
                                "confirmation"
                            ],
                            [
                                "value",
                                "yes"
                            ]
                        ]
                    ],
                    "president"
                ]
            ]
        }

Here in the output task if the condition is true, president is given. I think it should be nuclear_strike.

@knipknap
Copy link
Contributor

Thanks for the heads up! 👍

@junaidiiith
Copy link
Author

I don't see the change in the documentation, if I was wrong, could you tell me how?

@knipknap
Copy link
Contributor

I see it online. You probably need to "shift-reload" the page.

@junaidiiith
Copy link
Author

junaidiiith commented Jun 16, 2017 via email

@knipknap
Copy link
Contributor

Spiff Workflow does not implement any user interaction - that is something you need to do in your code. You may also want to check issue #52 .
(I will accept a patch that adds a "manual=False" argument to Workflow.complete_all().)

@junaidiiith
Copy link
Author

Yeah, but say there's a task X and a library Xlib to execute that task, so when the task is executed that library needs to execute that right, where is that linkage happening?

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