/*** OnSaveDone handler.*/function handleOnSaveDone(obj){ var ret = lsContext.handleOnSaveDone(obj); var whichUi = ( top.document.location.href.toLowerCase().indexOf('ccstd') > -1 ) ? 'ccstd' : 'ccpro'; if( whichUi != 'ccstd' && ret && confirm('Would you like to publish this form entry?') ) { var form = document.createElement('form'); HtmlUtil.setFormAttribute(form, 'action','/iw-cc/command/iw.ccpro.submit'); HtmlUtil.setFormAttribute(form, 'method', 'POST'); HtmlUtil.setFormAttribute(form, 'target', top.name); var input = HtmlUtil.createNamedElement('input','vpath',document); input.type = 'hidden'; input.value = IWDatacapture.getDCRPath(); form.appendChild(input); document.body.appendChild(form); form.submit(); ret = false; } return ret;}
There is/was an existing bug where the finish button would not kick off a WFM model from tt_data. I do not remember the specifics, but it was something like if there was an entry in available_templates.cfg (albeit a different one) then it would work.
I found the Article (#58570) that talks about this Bug (#69324). It was supposed to have been fixed in TS 6.7.1 SP1, but we are running 6.7.2, so I don't know if maybe it wasn't fixed or I have some configuration messed up.I opened up a new support case so I'll see what they say.
Do you have the following specified in applicaton_custom.xml? < application id="ccpro"> < param id="ccpro-use-tt-data" value="true"> < /param> < /application>
No I don't have that. Do I need that? Why?
I suggest you spend a bit more time reading the manuals, getting training, or hiring someone who already knows what they're doing.I just *had* to post that.
Did you try the "workaround" that was suggested by IWOV ? That will admittedly suck, but I wonder if it is the same problem.Andy
how about the fix in this thread
Do you have the following specified in applicaton_custom.xml?[html] [/html]
application_custom.xml
From the 671SP1 UICG (some emphasis added):[indent]Enabling Prompting after Modifying Forms (use tt-data) in ContentCenter Professional[indent]The default behavior in ContentCenter Professional after users create or modify a form is to not associate the modified form with a workflow, even if such workflows (tt-data workflows) are configured in available_templates.cfg and the user has access to them. To alter this behavior so that users, after creating or modifying a form, are prompted to associate it with a workflow (provided one is configured and they can access it in their current role), edit application_custom.xml:[/indent][/indent]I suggest you make the above configuration setting, run make_toolkit.ipl (successfully) and then see if your problem persists.
interesting.... i dont have that enabled in application_custom.xml, but DCRs have been showing the option to associate them with a workflow since i installed patch 6 on 671 sp1. ( so i assumed it is enabled by default).also i commented out everything in available_templates.cfg since we are just using wfm based wfs, and all our workflows are still working with tt_data.
Another downside to this approach is that it shows the WFT workflow as the first option, so that's the default option (its radio button is selected). I did name the WFT workflow "DO NOT Choose This Workflow" but you know someone will choose it just to be a PITA.
Hey SCan you limit the generic WF to master only ? Or a certain user ?