# Multiple invocations of one thor task from another thor task

**URL:** <https://www.ruby-forum.com/t/multiple-invocations-of-one-thor-task-from-another-thor-task/184349>\
**Category:** Ruby\
**Created:** [March 1, 2010, 11:03am UTC](https://www.ruby-forum.com/t/multiple-invocations-of-one-thor-task-from-another-thor-task/184349 "2010-03-01T11:03:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [March 1, 2010, 11:03am UTC](https://www.ruby-forum.com/t/multiple-invocations-of-one-thor-task-from-another-thor-task/184349/1 "2010-03-01T11:03:55Z")

</div>

Hi,

I am trying to invoke a thor task from another thor task multiple times  
with different params. Looks like the thor invocation-dependency system  
gets in the way so that only the first invocation is carried out. I  
played around with the ‘remove\_invocation’ method but did not get it to  
work yet (see attached test script).

Any hint that might point me in the right direction very much  
appreciated!  
Ingo
