Question

Close a screen using an activity

Hi everyone,

I have a small issue. I have to close a screen using an activity based on a condition. ( Therefore Submit button would not help)

On one side of the condition I have to perform a back-to-back assignment. Therefore, in flow action configuration, I have to enable back-to-back configuration and tick "Look for an assignment to perfrom".(Please refer attachment). It works fine.

On the other side of the condition, I need to rout it to current user's worklist and close the current assignment screen Routing part works fine as well.

Problem is since I have enabled back-to-back configuration and tick "Look for an assignment to perfrom", when its routed to the worklist, that screen loads again.

Is there any activity or other ways to use in an activity to close the current screen? I have used DoClose() but it does not work properly.

Thanks in advance.

 

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
December 1, 2016 - 2:37am

Hi Supun,

I think we can do it in the activity by using these methods based on your requirement.

auto close
cancel screen flow
flow complete
close
close work item
px force case close

Thank you

Comments

Keep up to date on this post and subscribe to comments

December 1, 2016 - 2:37am

Hi Supun,

I think we can do it in the activity by using these methods based on your requirement.

auto close
cancel screen flow
flow complete
close
close work item
px force case close

Thank you

December 17, 2016 - 5:33am
Response to Dileep Kumar Balaga

Thanks dileepkumar,

This really helped. Sorry for the late response.

December 1, 2016 - 4:39am

Did you try the below one?

December 1, 2016 - 6:08am

Hi Supun,

You can call Show-Harness activity by passing the parameter purpose = harness name (example : Confirm), ReadOnly = true in the activity

Thanks,
Mounika Y