Inject job keep Private data

Post Reply
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Inject job keep Private data

Post by Qpdv »

Hi,

I'm trying to inject a job but i need the private data in that job. But when i inject it its gone.

Thanks

Peter
sander
Advanced member
Posts: 276
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Inject job keep Private data

Post by sander »

Are you are injecting from a static job repository?

So, a file with stripped unique name is the injected job?
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Inject job keep Private data

Post by Qpdv »

What exactly do you mean by static job repository?
sander
Advanced member
Posts: 276
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Inject job keep Private data

Post by sander »

Image

Like this, with this settings my private data is not discarded, that's for sure :)
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Inject job keep Private data

Post by Qpdv »

Yes that thats the one.
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Inject job keep Private data

Post by Qpdv »

Even from the job thats injected?
sander
Advanced member
Posts: 276
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Inject job keep Private data

Post by sander »

Yep, without private data a file dies within one hop in my flows :)

Can you screenshot your settings?
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Inject job keep Private data

Post by Qpdv »

Screen Shot 2016-12-08 at 12.02.56.png
Screen Shot 2016-12-08 at 12.02.56.png (18.89 KiB) Viewed 10798 times
sander
Advanced member
Posts: 276
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Inject job keep Private data

Post by sander »

Weird, looks like the same settings over here.

Hmm, what's in your Job name variable?
Qpdv
Member
Posts: 22
Joined: Thu Dec 03, 2015 2:59 pm

Re: Inject job keep Private data

Post by Qpdv »

Only: [Job.NameProper]
sander
Advanced member
Posts: 276
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Inject job keep Private data

Post by sander »

Wow! Sorry man, I think I misunderstood somewhere. My inject job and original job do have the same metadata, so the metadata is not of the injected job but the incoming job.

However, since the injected job does not have the unique name anymore all metadata of this job is discarded, I bet there's no way around that one.
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Inject job keep Private data

Post by gabrielp »

sander wrote:However, since the injected job does not have the unique name anymore all metadata of this job is discarded, I bet there's no way around that one.
True but could the job being injected be packed? If so, you could inject and unpack, keeping the metadata.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
Post Reply