Forum Discussion
darpan13
4 years agoContributor
WorkFlow Profile Rename Possible via BR ?
Hi Team,
Is there any magical code / function to rename the workflow using some business rule.
or direct update in the table ?
https://discourse-static.influitive.net/uploads/db_8467a788_7b9e_45b8_8b6c_d37e1967220d/original/1X/a860be7974b4c554451674f07f5783e08208797d.png
Regards and Thanks
Darpan Bhansali
6 Replies
- NickKroppe
OneStream Employee
There is currently not a supported BRApi that will enable you to rename a workflow via a business rule. I would suggest creating an enhancement for this as it would be nice to be able to both create a workflow and update a workflow's name via BRApi in a business rule.
Nick Kroppe
OneStream Software
- NicolasArgenteValued Contributor
Hi Darpan!
I am no magician but did you try to use the SQL Editor to query the table WorkflowProfileHierarchy. You will find the ProfileName there as a field. I have never tested it as it seems dirty, but technically that could work. Can you give me a feedback on that… I am curious.
I do not know how to change WF names from BR. (I think you can not)
Thanks- darpan13Contributor
Hi Nicolas,
As you mentioned it’s dirty… we are even afraid to do that.
2 tables are in there (as per our knowledge) which needs to be updated, not sure on any other.
https://discourse-static.influitive.net/uploads/db_8467a788_7b9e_45b8_8b6c_d37e1967220d/original/1X/8ac1a5a4a1b4080108414f329ae8320efd16a775.png
- ChristianW
OneStream Employee
Be careful with renaming Workflows, there are a lot of other objects dependant on Workflow names.
- Gidon_AlbertContributor II
ChristianW is right. Writing directly to the tables is not a good idea and if you are on the cloud may not even be possible.
- Mattb_0124New Contributor III
I tend to just export the WF to xml, update the name, reload the xml file, then delete the old WF.
Related Content
- 2 years ago
- 3 years ago