OJS to DSPACE deposit, how are DOIs exported?



While making a dspace deposit via swordv2, DOIs are not exported. I have some ojs publications where I have manually marked DOIs as registered(DOIs are not deposited and hence not active). Do only active DOIs get exported while making a DSPACE deposit via OJS?

I would like to know how/when are the DOIs exported.

Thank you