I have a query - If i add some custom attributes to a flow (via. processing flows.json) - attrbutes which i want to use for internal housekeeping ...
example :- All flows where type="tab" or type"subflow" - say - sourceInstanceName, owner.
This will be done via. processing the flows.json on instance 1 of NR1 and deploying to instance 2 of NR via. httpAdmin API.
Query is - so long the attributes are unique - which i know will not come from core - will they be maintained or some internal mechanism will remove them ?
Can these extra attributes cause some functional issues ?
I am not expecting to see these attributes in the editor.
We are trying to assess how to move flows from one env to other and maintain some trackability aspects.
The editor will only export properties it knows about. As soon as you hit deploy in the editor it will strip all of your custom attributes.
Being able to add custom attributes is something that has been in the backlog for a long time - but without any immediate need it has never been looked at in any detail.
In connection to this - is it possible for add for core a date attributes on tab and subflows to indicate when this was last modified - create date , last modified date ? So core itself updates . Also if work in user login mode - then last updated by.
Projects versioning etc. needs github integration. Plus as i have understood even then 1 project can be active at a time.
I want to explore an option when syncing environments programmatically to give user a signal that target is newer than source and then he may take a call.
here is a silly idea .. maybe you can utilize the info attribute of flows, subflows etc to add the additional custom attributes you want.
The info property is the one being populated when you edit the Description
but you could use that possibly by comma separating your attributes ?
(last modified, version etc)
I was under the impression that you were POSTing/updating flows programmatically/remotly with httpAdmin API. if its the user updating its going to be a tedious process .. but its the only thing that i could think of that gives you the option to tag on as many different attributes you need.
[EDIT]
The same could be done using Environment Variables (which is even cleaner),
even if you dont use them internally in the flow, you could use them to store some attributes