{"action":"created","issue":{"url":"https://api.github.com/repos/kusor/node-workflow/issues/135","labels_url":"https://api.github.com/repos/kusor/node-workflow/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/kusor/node-workflow/issues/135/comments","events_url":"https://api.github.com/repos/kusor/node-workflow/issues/135/events","html_url":"https://github.com/kusor/node-workflow/issues/135","id":60834834,"number":135,"title":"job attribute: workflow_uuid && workflow","user":{"login":"dpoellath","id":1272096,"avatar_url":"https://avatars.githubusercontent.com/u/1272096?v=3","gravatar_id":"","url":"https://api.github.com/users/dpoellath","html_url":"https://github.com/dpoellath","followers_url":"https://api.github.com/users/dpoellath/followers","following_url":"https://api.github.com/users/dpoellath/following{/other_user}","gists_url":"https://api.github.com/users/dpoellath/gists{/gist_id}","starred_url":"https://api.github.com/users/dpoellath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpoellath/subscriptions","organizations_url":"https://api.github.com/users/dpoellath/orgs","repos_url":"https://api.github.com/users/dpoellath/repos","events_url":"https://api.github.com/users/dpoellath/events{/privacy}","received_events_url":"https://api.github.com/users/dpoellath/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-12T15:15:03Z","updated_at":"2015-03-17T12:19:31Z","closed_at":"2015-03-17T12:19:31Z","body":"why are there two attributes? in both attributes is the uuid of the workflow stored"},"comment":{"url":"https://api.github.com/repos/kusor/node-workflow/issues/comments/82316591","html_url":"https://github.com/kusor/node-workflow/issues/135#issuecomment-82316591","issue_url":"https://api.github.com/repos/kusor/node-workflow/issues/135","id":82316591,"user":{"login":"kusor","id":13474,"avatar_url":"https://avatars.githubusercontent.com/u/13474?v=3","gravatar_id":"","url":"https://api.github.com/users/kusor","html_url":"https://github.com/kusor","followers_url":"https://api.github.com/users/kusor/followers","following_url":"https://api.github.com/users/kusor/following{/other_user}","gists_url":"https://api.github.com/users/kusor/gists{/gist_id}","starred_url":"https://api.github.com/users/kusor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusor/subscriptions","organizations_url":"https://api.github.com/users/kusor/orgs","repos_url":"https://api.github.com/users/kusor/repos","events_url":"https://api.github.com/users/kusor/events{/privacy}","received_events_url":"https://api.github.com/users/kusor/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T12:19:31Z","updated_at":"2015-03-17T12:19:31Z","body":"Yeah, but that's merely a way to refer to things into the workflow-factory, though. Exactly on that same function you mentioned, some lines below, you have this: `theJob.workflow_uuid = wf.uuid`, which makes pretty clear that it's the workflow_uuid attribute what we persist with the job in the backend.\r\n\r\nA different thing is how we call the argument names here and there, which could be improved, of course, but I don't think it's a big deal right now, given no functionality is affected at all.\r\n\r\nAs far as what we're storing on the backend are the \"foreign keys\" as plain UUID strings, it's more than enough."}}