Should I implement a development environment for OpenRPA and OpenFlow?

All objects related to a specefic NodeRED ( flows, credentials, sessions, npmrc and so on ) will be saved in the nodered collection with “nodered_id” set to the id.
So you can easily export all the objects, using

$nodered = Get-Entity -Collection nodered -Query '{"nodered_id":"my-nodered"}'

By default powershell will login using the information in settings.json ( you can validate that using get-CurrentUser )
and you can change to a different openflow installation ( or just a different user ) using

Set-CurrentUser -Username Allan -Password SuperSecret -WSURL wss://app.openiap.io

and then “restore” the nodered objects into the new openflow using

Set-Entity -Objects $nodered -Collection nodered

As I mentioned above, for people with an premium license, I’m almost done with a solution that makes all of this super easy, by combining the git server with a snapshot/restore system. In that case you simply clone and push a git repository to move between environments, and get the benefit of full version control across versions.

3 Likes