내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Outbound Transition for a Custom Activity

Avatar

Community Advisor

Hello All,

 

I am trying to build a custom activity which will shorten the URLs. I have completed most of the parts. But I am not able to figure out how to create a temporary table for my activity and then pass the data to the next activity.

_Manoj_Kumar_0-1598444008351.png

 

My workflow just ends at the bitly activity and do no go beyond that.

 

Here is the transition code which I am using for this custom activity.

<element name="transitions">
      <element name="transition" ref="transition"/>
    </element>

 

Can anyone help me here?


     Manoj
     Find me on LinkedIn
1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @_Manoj_Kumar_ ,

 

I think your schema is correct. If you want to continue the flow to the transition, you need to add the following in your activity js (I pasted 2 snippets

 

task.postEvent(task.transitionByName('transition'));
task.setCompleted();
return 0;

or

task.postEvent(task.transitionTransition())
task.setCompleted()

return 0;

 

Of line, I developed also a bit.ly URL Shortener using typologies rules. If you want we can discuss  about the best practices.

Thanks,

David 



David Kangni

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @_Manoj_Kumar_ ,

 

I think your schema is correct. If you want to continue the flow to the transition, you need to add the following in your activity js (I pasted 2 snippets

 

task.postEvent(task.transitionByName('transition'));
task.setCompleted();
return 0;

or

task.postEvent(task.transitionTransition())
task.setCompleted()

return 0;

 

Of line, I developed also a bit.ly URL Shortener using typologies rules. If you want we can discuss  about the best practices.

Thanks,

David 



David Kangni

Avatar

Community Advisor
Thanks David, It worked.

     Manoj
     Find me on LinkedIn